
16 Jul
2007
16 Jul
'07
6:09 a.m.
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@gmail.com