[fpc-devel] FPC 3.0 slow strings

Maciej Izak hnb.code at gmail.com
Tue Feb 23 13:07:52 CET 2016


Hi!

I am active user of mORMot and Zeos, I'd like to forward here important
message from Google+:

https://plus.google.com/+ABouchez/posts/eGyvNBsrM9b

Any chance to improve this? :

Original message (author: A. Bouchez):

FPC 3.0 Strings are SLOW...
Did you experience this? After introducing of code pages to the String
process, we discovered a huge slowdown at execution.
http://wiki.freepascal.org/FPC_Unicode_support is confusing... We were not
able to find a compilation mode in which the behavior was close to Delphi.
For instance, the code page of the string constants in source code are
broken. Or in case of string comparison, RawByteString are converted to the
current system code page, so are dead slow, and broke most of existing code.
We had some discussion with ZEOS authors, and they are as concerned as we
are. See http://synopse.info/forum/viewtopic.php?pid=19498#p19498
The FPC RTL introduced clearly some performance regressions. A lot of
hidden charset conversion is done at runtime, for no benefit, and breaking
all code expectations.

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160223/222f5b4d/attachment.html>


More information about the fpc-devel mailing list