2013/6/21 Sergei Gorelkin <sergei_gorel...@mail.ru>: > I've profiled the code and found no conversions taking place. All the > slowdown appears to be caused by other reasons, hard to tell the topmost > contributor. What catches the eye is the large amount of calls to > UniqueString, and the fact that SetCodePage goes through implicit > try..finally block even if it does not need to convert the string. >
Seems that Florian changed SetCodePage to avoid implicit try finally. It improved the performance slightly but still a lot slower than 2.6.X . See: http://forum.lazarus.freepascal.org/index.php/topic,21223.msg124551.html#msg124551 Luiz _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel