The Trunk: Tools-mt.1374.mcz

[email protected]
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1374.mcz

==================== Summary ====================

Name: Tools-mt.1374
Author: mt
Time: 7 August 2026, 2:58:40.299162 pm
UUID: a33ba6ad-385f-6649-82a3-c57edadf648e
Ancestors: Tools-mt.1373

Complement System-mt.1532

=============== Diff against Tools-mt.1373 ===============

Item was added:
+ ----- Method: ContextInspector class>>cleanUp: (in category 'class initialization') -----
+ cleanUp: aggressive
+ 
+ 	aggressive ifTrue: [
+ 		CachedStackTopLabel := nil.
+ 		CachedTempVarsLabel := nil].!

Item was changed:
  ----- Method: ContextInspector>>allTempVarsTranslated (in category 'private') -----
  allTempVarsTranslated
  	"Alas translation is slow enough that we notice the slow down in trying to step in the debugger..."
+ 	
+ 	self flag: #refactor. "mt: Faster alternatives are (1) no translation, (2) #translatedInDomain:, and (3) #translateInAllDomains:. The perceived slow-down is probably because of the dynamic domain extraction via thisContext method sender. See #translated."
+ 	
  	(CurrentLocale ~= Locale current
  	 or: [CachedTempVarsLabel isNil]) ifTrue:
  		[CurrentLocale := Locale current.
  		 CachedTempVarsLabel :=  'all temp vars' translated].
  	^CachedTempVarsLabel!

Item was changed:
  ----- Method: ContextInspector>>stackTopTranslated (in category 'private') -----
  stackTopTranslated
  	"Alas translation is slow enough that we notice the slow down in trying to step in the debugger..."
+ 	
+ 	self flag: #refactor. "mt: Faster alternatives are (1) no translation, (2) #translatedInDomain:, and (3) #translateInAllDomains:. The perceived slow-down is probably because of the dynamic domain extraction via thisContext method sender. See #translated."
+ 	
  	(CurrentLocale ~= Locale current
  	 or: [CachedStackTopLabel isNil]) ifTrue:
  		[CurrentLocale := Locale current.
  		 CachedStackTopLabel :=  'stack top' translated].
  	^CachedStackTopLabel!

Item was added:
+ ----- Method: Inspector class>>cleanUp: (in category 'class initialization') -----
+ cleanUp: aggressive
+ 
+ 	aggressive ifTrue: [
+ 		CurrentLocale := nil.
+ 		CachedAllInstVarsLabel := nil].!

Item was changed:
  ----- Method: Inspector>>allInstVarsTranslated (in category 'private') -----
  allInstVarsTranslated
  	"Alas translation is slow enough that we notice the slow down in trying to step in the debugger..."
+ 	
+ 	self flag: #refactor. "mt: Faster alternatives are (1) no translation, (2) #translatedInDomain:, and (3) #translateInAllDomains:. The perceived slow-down is probably because of the dynamic domain extraction via thisContext method sender. See #translated."
+ 	
  	(CurrentLocale ~= Locale current
  	 or: [CachedAllInstVarsLabel isNil]) ifTrue:
  		[CurrentLocale := Locale current.
  		 CachedAllInstVarsLabel :=  'all inst vars' translated].
  	^CachedAllInstVarsLabel!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.