30 Jun
2019
30 Jun
'19
1:06 a.m.
сб, 29 июн. 2019 г. в 13:01, Henning Thielemann <lemming@henning-thielemann.de>:
There is already the enummapset package.
Isn't it using fromEnum/toEnum under the hood, which might have bigger performance penalty than `coerce`? On the other hand, sure, the original suggestion can also be made as a separate library wrapping IntMap/IntSet and all the calls to coerce. I'm happy with that approach too. -- Georg Rudoy