On 16 Oct 2014, at 15:01, Marcus Denker <marcus.denker@inria.fr> wrote:
On 16 Oct 2014, at 14:55, phil@highoctane.be wrote:
I am using OrderedDictionary in quite a few places.
Now, I have to steam a lot of extra methods from Dictionary as the GTInspector doesn't display things properly, nor the WAInspector and its subclasses out of the box. NeoJSON same story, as Ston etc.
OrderPreservingDictionary is quite useful. Yes, there is GRSmallDictionary but it also has the same issues.
OrderPreservingDictionary is at least a Collection where GRSmallDictionary is a GRObject.
What would be the best strategy here?
We need such an ordered map all the time, it deserves a bit better.
Opinions?
In Pharo4, I copied OrderPreservingDictionary to OrderedDictionary. (to have a default one in the image without disturbing clients of OrderPreservingDictionary)
This should be improved if it something is missing.
Marcus
https://pharo.fogbugz.com/f/cases/14260/Add-gt-inspector-views-to-Ordered-Id...