From: Robert Klemme Date: 2004-01-07T17:16:42+09:00 Subject: Re: Compression (besides Huffman) and Ruby "Jamis Buck" schrieb im Newsbeitrag news:3FFB8A22.7010600@email.byu.edu... > Mark J. Reed wrote: > > > > >I've got the bare bones of a Ruby implementation of adaptive arithmetic > >encoding, using the Rational module. But it's r-e-a-l-l-y s-l-o-w. :) > > > >-Mark > > > > > > Heh. :) Well, the point of doing it in Ruby isn't to win races, I > guess. It's more to make these things portable. I'm sure a zlib or > bzip2 algorithm implemented in Ruby would be dog slow, too, but the > convenience provided by having them available directly, on any platform, > has to be taken into account. But wouldn't it bettern then to implement it in C (or use an existing implementation)? I mean, C *is* portable. Cheers robert