[project @ 2003-01-28 11:09:41 by simonmar]
authorsimonmar <unknown>
Tue, 28 Jan 2003 11:09:41 +0000 (11:09 +0000)
committersimonmar <unknown>
Tue, 28 Jan 2003 11:09:41 +0000 (11:09 +0000)
commitae435eed4b2deb978af88f7ff44b1706a7d6fa67
tree82f78d8213837fca8bc3328b3abd7bee8a8bdb13
parent3d08340bbc85f896df252957b36cc2153598680b
[project @ 2003-01-28 11:09:41 by simonmar]
Provide hand-optimised versions of all the functions herein, protected
by #ifdef __GLASGOW_HASKELL__.

In a quick test, withCString is at least 5 times faster than before.

This isn't really the right way to do it: we should get deforestation
working between the various component functions and let GHC do its
stuff, but I couldn't quite get that to work.
Foreign/C/String.hs