Stephane, i could say more:
- i don't like how LinkedList implemented.

I don't see why it should mimic things like #at: #at:put: at all..
IMO this protocol should be pruned from it, to not provoke uses which
completely do not fit for given data structure.

Removing/inserting into the middle of list is quite ineffective
operation (O(n)),
while inserting at the begginning/end of list is O(1).

Lists are sequenceable.. but sequenceable ~~ indexable. Period.

-- 
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to