[fpc-pascal] Set format

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Nov 14 11:47:37 CET 2006


I have a quick question: are there (m)any people here who store/load  
sets to/from files?

The reason is that we are considering to change the internal format  
of sets in FPC on big endian machines. The reason is that this would  
be necessary to allow byte-packing of sets (so that e.g. a set of  
0..63 would only occupy 1 byte as opposed to 4 like is currently the  
case). An added advantage would be that this would make gdb (the  
debugger used by Xcode) display sets correctly on PowerPC's and other  
big endian machines.

I'm afraid this may cause backward compatibility problems, but if not  
too many people store sets in binary files, that fear is unfounded.



More information about the fpc-pascal mailing list