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

Florian Klaempfl florian at freepascal.org
Tue Nov 10 19:08:45 CET 2009


Martin Schreiber schrieb:
> On Tuesday 10 November 2009 18:33:54 Florian Klaempfl wrote:
> 
>>> Did you look into the code in cpstrnew branch? I did.
>> And which changes are exactly the reason for your concerns?
> 
> More checks 

Where? A pure unicodestring routine won't get additional checks.

> and more complicated address calculation.

Where? Adding 16 instead of 12 makes no difference.

The "major" difference will be the initialization of the additional
fields and the increased memory requirement of 4 bytes per string.

> OK, you can say "you 
> will not notice the small difference". But possible this attitude is one of 
> the reasons that Delphi compiles much faster than FPC? ;-)

Yes, and if compilation speed is important for you, you should use
delphi ;) What you call "this attitude" is also the reason why FPC can
exist: we need always to find a compromise between:
- satisfy the needs of as much as possible users
- maintainability
- portability
- performance




More information about the fpc-devel mailing list