[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: very long string support

From: John Darrington
Subject: Re: very long string support
Date: Sat, 6 May 2006 08:20:49 +0800
User-agent: Mutt/1.5.4i

On Wed, May 03, 2006 at 08:04:07AM -0700, Ben Pfaff wrote:
     John Darrington <address@hidden> writes:
     > It seems that spss formats a 2551 byte string as 10 consecutive
     > 255-byte strings followed by a 103 byte string with the last 102 bytes
     > empty.  
     > Or in general a N byte string (where N > 255) is formated as 
     > (N div 252) consecutive 255 byte strings followed by a  8xsup(N - (N div
     > 252)x255/8) byte string (God knows why!).
     > When reading we just have to assume that there'll be "a number" of 255
     > byte strings, followed by a string <= 255 bytes in length.
     That is truly bizarre.  I will have to do some thinking about why
     it would do anything so zany.
     What do you mean by "xsup"?

Sorry.  8 x sup(...) means 8 multiplied by the supremum of ... 

One complication of reworking, is that sfm_open_reader will have to
modify the fv variable of all the very long strings.  I don't think
that's going to cause any problems, but I'm not sure ...


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: pgpRuuHcMEfxL.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]