[C2hs] PATCH: using standard Data.FiniteMap gives 6% performance improvement

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Nov 11 08:57:14 EST 2004

Attached is a patch to c2hs 0.13.4 to convert from using the FiniteMaps
and Sets modules that are included in the CTK to using the standard
Data.FiniteMap and Data.Sets modules.

This means less code needs to be distributed with c2hs and gives about
6% improvement in runtime (tested on gtk/gtk.h).

The patch touches a few files but is pretty small, only one or two
functions have different names or argument orders between the two
FiniteMap versions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: c2hs-finitemap.patch
Type: text/x-patch
Size: 13883 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/c2hs/attachments/20041111/c41740e1/c2hs-finitemap-0001.bin

More information about the C2hs mailing list