Mantis - Squeak
Viewing Issue Advanced Details
6652 Collections tweak always 09-03-07 01:59 02-06-11 23:48
sig  
leves  
normal  
closed 3.10  
fixed  
none    
none 4.1  
0006652: WeakRegistry tuning
This patch should improve speed of WeakRegistry>>finalizeValues method.
It scans dictionary only once for keys=nil, and collecting values to finalize at same time.
Old version scans dictionary 1 time, only if there is no values to finalize, but if yes, then two times, and also uses #includes: which does not add any speed.
 WeakRegistry-tuning.2.cs [^] (1,274 bytes) 09-03-07 01:59

Notes
(0013910)
leves   
11-07-10 02:25   
This issue was solved in Squeak 4.1, but it uses a bit different implementation.