|
RE: [FIX] SortedCollectionFix-sr: msg#00746lang.smalltalk.squeak.general
> after my correction in > correction [was: Re: [FIX] SortedCollectionFix-sr] > , I think the reason for the performance loss in the > 'unoptimized' version > must be the temporarily construction of a *Set* of keys (an > OrderedCollection would be cheaper) in: Well, then let's make it something different ;-) keysSortedSafely ^SortedCollection withAll: (Array streamContents:[:s| self keysDo:[:key| s nextPut: key]]) sortBlock:[...] Cheers, - Andreas
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: OT: An Udanax-Gold implimentation in Dolphin-ST, Les Tyrrell |
|---|---|
| Next by Date: | Re: Bad Aspects of Morphic?, Aaron J Reichow |
| Previous by Thread: | Re: [FIX] SortedCollectionFix-sr, Stephan Rudlof |
| Next by Thread: | Re: [FIX] SortedCollectionFix-sr, Stephan Rudlof |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |