That seems like a pretty good idea to me - maintain order (but probably not caseInsensitive)
tonskyThu 7 Apr 2011
Why not maintain Map#caseInsensitive too? Mapped map will have the same keys, it would be strange if default ["key":obj] has kEy key, but when mapped it will not.
brianThu 7 Apr 2011
Why not maintain Map#caseInsensitive too?
Yeah I think you are right since Map.map doesn't let you change keys (only values)
brianTue 31 May 2011
Ticket resolved in 1.0.59
Map.map will now preserve both ordered and caseInsensitive state
brianTue 31 May 2011
Renamed from Map#map doesn’t preserve elements order for ordered maps to Map#map doesn't preserve ordered/caseInsensitive
tonsky Wed 6 Apr 2011
If would be nice to keep order of elements in Map#map, if it is possible:
brian Wed 6 Apr 2011
Promoted to ticket #1480 and assigned to brian
That seems like a pretty good idea to me - maintain order (but probably not caseInsensitive)
tonsky Thu 7 Apr 2011
Why not maintain Map#caseInsensitive too? Mapped map will have the same keys, it would be strange if default
["key":obj]
haskEy
key, but when mapped it will not.brian Thu 7 Apr 2011
Yeah I think you are right since Map.map doesn't let you change keys (only values)
brian Tue 31 May 2011
Ticket resolved in 1.0.59
Map.map will now preserve both ordered and caseInsensitive state
brian Tue 31 May 2011
Renamed from Map#map doesn’t preserve elements order for ordered maps to Map#map doesn't preserve ordered/caseInsensitive