Subject Re: [IB-Architect] Next ODS change / RLE Encryption
Author Marcelo Lopez Ruiz
[I received this as a newsgroups post on my email account] ??

I've tried it on Spanish, and it works quite nicely, too. It requires two
passes on compression, though (unlike RLE).

I found particular gains by encoding not one character per leaf in the
decoding tree, but character pairs. The tree is much larger, but it doesn't
double, and byte pairs are (on text anyway) very uneven (the ea pair is
found much more often than the Wp, for example, if the latter appears at

Marcelo Lopez Ruiz

Craig Stuntz <ib-architect@...> wrote in message
> Jason Wharton wrote:
> >
> > Which, leads me to another thought, perhaps we could introduce another
> > algorithm more suited for a string of bytes that don't have lengthy
> > repetitions. One that, like the varchar whitespace removal, takes
> > of the knowledge of the datatype that it has.
> Huffman encoding works very nicely for English text. I don't know how
> useful it would be for mixed languages.
> -Craig
> --
> Craig Stuntz Vertex Systems Corporation
> Senior Developer
> Delphi/InterBase weblog:
> _______________________________________________
> Ib-architect mailing list
> Ib-architect@...
> To unsubscribe from this group, send an email to: