
11 Aug
2009
11 Aug
'09
2:19 p.m.
For the sake of testing both options, here's a branch with the wrapper
code instead of the replacement/integrated code:
http://github.com/sw17ch/EnumMap/tree/wrapper
On Sat, Aug 8, 2009 at 4:41 PM, Henning
Thielemann
On Sat, 8 Aug 2009, John Van Enk wrote:
Hi List,
I've uploaded a first version of EnumMap to hackage.
EnumMap is a generalization of IntMap that constrains the key to Enum rather than forcing it to be Int. I have no idea what impact this has on performance, but it still passes all the tests that ship with IntMap. (My guess is that performance will be similar/identical unless I've missed something.)
Could that be implemented as wrapper around IntMap?