Olivier,
>
>
> Read this {fe 44} for minus 2 followed by 44.
> But the question remains open, I still do not get why 'DD' becomes 02 44 44
> and not FE 44.
>
I think that case of a doubled letter is larger only if the doubled
letter is either the end of the string or immediately precedes a
string of identical character. For example, AAAADDEFG
becomes -4 A -2 D 3 EFG if double letters are compressed rather than
-4 A 5 DEFG
Relatively few English words end in double letters. RLE is really
good at getting rid of trailing blanks, but leaves a lot to be desired
in general text compression. Which is why text blobs aren't
"compressed".
Cheers,
Ann
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel