[fpc-pascal] AnsiStrings and Memory Management

Matt Emson memsom at interalpha.co.uk
Wed Dec 14 17:42:56 CET 2005


>(astonishing that  ShortStrings are slower than AnsiStrings in this example
in delphi).

Not really. Delphi is silently upcasting your shortstrings to AnsiStrings in
the background. You would probably have to recompile the VCL to get around
this ;-)

Hope that helps,

M




More information about the fpc-pascal mailing list