Hello Donald, Saturday, May 20, 2006, 8:55:06 AM, you wrote:
> We've talked a bit about further tuning the ForiengPtr type for its use > in ByteString. Now I've got some numbers. well 1. adding these special cases should improve MEMORY usage for the HEAD ghc branch when using large number of SMALL strings 2. borrowing ForeignPtr implementation from the HEAD and using it inside ByteString module even on STABLE ghc should make FASTER work with large number of SMALL strings. you test only gigantic strings so it's impossible to see any improvements of it. the only tests what should show benefits is 'lines' and 'words' there are large number of applications which need to hold large number of small strings, like my own which keeps whole list of names of files on hard drive. so implementing these two optimizations should significantly, 2-3 times, improve speed of such apps and make this speedup available even with ghc 6.4.2 -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
