Board index » delphi » Re: Delphi version of LZO?

Re: Delphi version of LZO?


2006-05-26 09:32:30 PM
delphi178
Thx for the links. On Gemac seems to be producing cards for the Windows
platform. Have you personally tried any of them? Are they easy to program
for, in Delphi or C++?
Ray Mond
 
 

Re: Delphi version of LZO?

Quote
Right, that is a different Ross. The algorithm I am referring to is not
Lempel-Ziv based, as far as I recall.
Only one I found was
www.ddj.com/dept/cpp/184402606
It's called "Ross Data Compression (RDC)", doesn't mention LZ, but from
the source, it looks like a close LZ77 variant.
Eric
 

Re: Delphi version of LZO?

Quote
I dont know what sort of app you need it for, nor of your
budget, but if it is a server sort of thing where the priority
is compression (i.e. not the budget), recently, you could use
a compressor card (PCI?) for that purpose.
Wouldn't fit though, we rarely have control for the hardware, and the
compression happens at both ends.
It's used for a DB middleware, as even though our data stream contains
very little "truly" redundant data, there is a lot of redundancy across
records, from batch numbers that share their first numbers to names
where you have variants of the same thing, like in "blue string, red
string, blue rope, red rope", etc.
Most of the time, a fast compressor is enough to cut the amount of data
to a fraction of the uncompressed size.
Eric
 

Re: Delphi version of LZO?

I'm using delphi's own zlib and I can achieve
compression rates of 30-40MB/sec and
decompression rates of 80-90MB/sec by
using fastest compressible option and
in-memory compress/decompress
(TMemoryStream).. This takes a bit of
memory but serves our purpose to
maximize network throughput..
Juhani Suhonen
"Eric Grange" <XXXX@XXXXX.COM>writes
Quote
>Have you looked at using zlib? it comes with delphi and if you use
>the fastest compression method it is quite acceptable.

We're using it as higher-but-slower compression method already, see reply
to Thaddy for details, but in short, it has to compress/decompress faster
than the "average LAN" can transmit to fit in our lower-but-faster
compression spot.

Eric
 

Re: Delphi version of LZO?

Quote
I'm using delphi's own zlib and I can achieve compression rates of 30-40MB/sec and
decompression rates of 80-90MB/sec by using fastest compressible option
Hmmm, just tried it, but it achieved a similar compression ratio to LZRW
while being 2-3 times slower (depending on the data being compressed).
You really need to bump up the compression level with ZLib to see a
difference, but then, the speed becomes very different too...
Eric