cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)

Graeme Geldenhuys graeme at mastermaths.co.za
Wed Nov 11 09:00:26 CET 2009


Florian Klaempfl wrote:
>> and therefore the RTL and compiler procedures are identical with exception of 
>> the initialization of 4 bytes with a constant?
> 
> Well, two times two byte ;)

I have not looked at the cpstrnew branch, but what is the 4 bytes used
for in each string? Couldn't the individual bits in 1 byte value be
used? That will reduce the extra memory overhead by 75%?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list