tag:blogger.com,1999:blog-4434108347727659251.post75235650828370990..comments2022-06-29T08:53:03.580+02:00Comments on Compas Pascal: Widestring 4545 times slower than unicodestringUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4434108347727659251.post-35049334667845602142008-10-17T12:19:00.000+02:002008-10-17T12:19:00.000+02:00Yes. This is one of the most important reasons, wh...Yes. This is one of the most important reasons, why we should move to Delphi 2009stanleyxu (2nd)https://www.blogger.com/profile/12291786770395325696noreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-57323550576951337482008-10-17T12:13:00.000+02:002008-10-17T12:13:00.000+02:00Fragmentation is obviously going to happen in code...Fragmentation is obviously going to happen in code of this nature, and with a widestring it will happen sooner. Just by pre-setting the reserved memory for the string will already help.<BR/><BR/>Understanding what is happening in the background is the key to writing an appropriate algorithm.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-89909387336832189032008-10-16T12:14:00.000+02:002008-10-16T12:14:00.000+02:00Well, this is a code that should never appear in a...Well, this is a code that should never appear in a well-written application.<BR/><BR/>I do agre that converting old apps that use this kind of code is a problem - but then I'm not planning to convert old applications at all. New developement will start as Unicode apps, old ones will stay Ansi.gabr42https://www.blogger.com/profile/06903558857617342477noreply@blogger.com