In our previous episode, Alexander Klenin said:
> > shortstrings have another advantage over ansistrings. Of course, I
> > suspect that using ansistrings against shortstrings would be hardly
> > measurable in the compiler speed, but one hundred of such micro
> > optimizations might make the compiler twice as fast.
> 
> All true. However, my main point was that all those micro-optimizations
> obfuscate the code.
> One day all this obfuscation may prevent some higher-level optimization,
> like multi-threading or built-in linking,

Major work like that is already always combined with major refactoring and
rewriting, so that is unlikely, and they touch totally different systems
(frontend vs backend)

> PChars, on the other hand, require manual memory management
> which is the source of bugs.

Point out the example of bugs. (ones that matter, not the stylistic ones)
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to