[squeak-dev] The Trunk: Collections-topa.726.mcz

tim Rowledge tim at rowledge.org
Tue Dec 6 19:57:41 UTC 2016


> On 06-12-2016, at 11:08 AM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 
> Is there any use of these lists? I mean besides process scheduling.
> I can't imagine a use-case where I would use a LinkedList instead of an OrderedCollection (or another data structure).

Anywhere that needs frequent adding and removing of items mid-list, or growing/shrinking. Saves constantly making a new array, copying gazillions of OOPs and possibly #become.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- Sic faciunt omnes. = Everyone is doing it.




More information about the Squeak-dev mailing list