Community
Participate
Working Groups
bot sure if it's a bug TreeMaps allocate a lot of garbage when used (iterators etc.) their only benefit over HashMaps is that they're always sorted. i'm not sure but if that property is not necessary in toKeySequenceMap, then a HashMap would be better there
TreeMaps and TreeSets were intentionally chosen in the key bindings code for this sorting property. (HashMaps and HashSets are also used in the code where possible). I would like to keep this behavior unchanged. In light of this info, please let me know if you still think I should take a good look at getting rid of this. Ideally, I don't want to though. Thanks.