FPS, ForeignPtr and GHC 6.6

David Roundy droundy at abridgegame.org
Fri Apr 21 09:39:49 EDT 2006


On Fri, Apr 21, 2006 at 04:53:42PM +0400, Bulat Ziganshin wrote:
> moreover, Donald made most of its test with excessively large strings.
> for strings of real size (10-100 bytes) speed difference will be
> typically the same as in his `wc` test. so the current implementation
> slows library at least 2 times and this can't be avoided without
> switching to 6.6

This is a module designed to efficiently handle large strings.  That's the
entire reason for its existence.  Which isn't to say one shouldn't also
work to make it fast on small strings, but small strings are cheap
regardless, so they aren't the point that needs to be optimized.
-- 
David Roundy
http://www.darcs.net


More information about the Libraries mailing list