Re: C-ISAM: COMPRESS with two-parts index
Posted in 1996
> > Hi! > > several identical 'name's, but the combination of 'name' and 'id' ensures > unicity, thus I can (and I do) use flag ISNODUPS. > > The question is whether the flag TCOMPRESS can be of some use. If I didn't > have the 'id', the answer would be clearly YES, because the names are > usually less than 32 bytes long. But if compressing technique is applied > after concatenating both indexes, then it would be impossible to have > a series of blanks at the end of the key... > Maybe, have a attentive look at C-ISAM Manual 2-24 (Indexing). TCOMPRESS would remove trailing spaces, but LCOMPRESS would remove leading duplicate char. from the keys. You have to check out if space saving is really of any use in fact of (C-ISAM) costs for maintaining the compression. -- Chris Drauch ...................................................................... . c/o DRAUCH Ges.m.b.H. Tel. 43/ 3135/46387-0 . . Gewerbestrasse 5 Fax 43/ 3135/4638728 . . A-8071 Hausmannstaetten EMail cdr@xteam.co.at . ......................................................................