Converting things to and from binary
Hal Daume III
Wed, 21 May 2003 08:10:07 -0700 (PDT)
I think it depends on whether you're talking about writing to files or to
memory. In files, I believe it's about 20% slower using bits (IO is slow
blah blah blah); in memory it's probably more like your 250% :).
Hal Daume III | firstname.lastname@example.org
"Arrest this man, he talks in maths." | www.isi.edu/~hdaume
On Wed, 21 May 2003, Simon Marlow wrote:
> > Several tests by SimonM and I have shown
> > that the bit style is about 20% slower than the byte style.
> Really? I seem to recall it was more like 250% :-)