[Haskell-cafe] In-place modification
Bulat Ziganshin
bulat.ziganshin at gmail.com
Mon Jul 16 06:09:26 EDT 2007
Hello Jon,
Sunday, July 15, 2007, 9:46:42 PM, you wrote:
> This should tell you that your C++ is not very good. This is several times
> faster, for example:
> For some reason you were using C-style allocation rather than the C++ STL to
> implement a bit vector. The STL implementation is optimized.
i bet that this version allocates exactly one bit per element, like
Haskell version. so *this* comparison is fair, while old was unfair
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list