[Haskell-cafe] Announce: EnumMap-0.0.1
thomas.dubuisson at gmail.com
Sat Aug 8 21:02:39 EDT 2009
On Sat, Aug 8, 2009 at 5:30 PM, Felipe Lessa<felipe.lessa at gmail.com> wrote:
> On Sat, Aug 08, 2009 at 04:14:15PM -0700, Thomas DuBuisson wrote:
>> There exists a small but measurable performance hit for at least one
>> test case (using Int as keys, obviously). Perhaps the bias would be
>> the other way if we were comparing EnumMap to an IntMap wrapped with
>> to/from Enum.
> Perhaps some SPECIALIZE pragmas would help here.
Actually I tried that by adding SPECIALIZE to insert, insertN and
lookup. it seemed to make the insert benchmark competitive but not
More information about the Haskell-Cafe