OrderedDictionary (was: Re: [squeak-dev] Re: The Trunk: Collections-mt.593.mcz)

Levente Uzonyi leves at elte.hu
Fri Jan 16 14:07:30 UTC 2015


On Fri, 16 Jan 2015, Marcel Taeumel wrote:

> Hmm... you're right. It seems that in C#, it is just an overwrite, too. Which
> could imply no update of the order.
>
> http://msdn.microsoft.com/en-us/library/system.collections.specialized.ordereddictionary.add%28v=vs.100%29.aspx
>
> I cannot verify that right now. However, this would really make the
> implementation simpler and maybe more flexible.
>
> Still, I have to look into this linking of values. Did not get it yet... :)

I've uploaded a quick implementation, which uses the insertion order.
http://leves.web.elte.hu/squeak/LinkedDictionary-ul.1.mcz

Levente

>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/The-Trunk-Collections-mt-593-mcz-tp4799750p4799882.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>


More information about the Squeak-dev mailing list