Pickling a finite map (Binary + zlib) [was: [Haskell-cafe] Data.Binary poor read performance]

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Feb 24 00:18:01 EST 2009

Hello Duncan,

Tuesday, February 24, 2009, 5:13:05 AM, you wrote:

> That's actually rather surprising. The system time is negligible and the

yes, this looks highly suspicious. we use 1.5 seconds for 1.3 mb file,
and 0.3 seconds for 0.3 mb file, so it looks like readFile monopolize
cpu here, being able to read only 1mb per second. decoding into list
of strings (instead of building map) may help to check this assumption

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list