The HP and PackedString (was: Re: [Haskell-cafe] Removing mtl from the Haskell Platform)

Gwern Branwen gwern0 at gmail.com
Wed May 13 08:41:24 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, May 13, 2009 at 7:45 AM, Robin Green  wrote:
> I don't agree. TH can sometimes slow down a build considerably. I don't
> want to see it getting even slower.

I once switched TH to Strings. All the uses are trivial, and the
encoded strings so small I found myself wondering whether
bytestring/packedstring might not be slower than regular string.

Certainly, I didn't notice any significant slowdown.

- --
gwern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAkoKv/AACgkQvpDo5Pfl1oLNKgCdEKH0nT/6f3lni7QtjUr4Rfwv
NAAAn0J+ZBgwYchGVDTbfnhxhuS5dvep
=KtIG
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list