I did exactly the same thing for Delphi some time ago and encountered huge performance issues (in my case, I was using records with overloaded operators to emulate "smart types"). The code is open sourced but without compiler magic and serious optimization, it's fairly worthless.
Regards, Simon -----Original Message----- From: Michael Schnell [mailto:[email protected]] Sent: 29 August 2012 16:46 To: Lazarus mailing list Cc: Hans-Peter Diettrich Subject: [!! SPAM] Re: [Lazarus] Delphi post-XE3 roadmap On 08/29/2012 06:24 PM, Hans-Peter Diettrich wrote: > > > AFAIK string concatenation "+" in .NET (and others?) is slow, instead > it's suggested to use concatenation methods directly. The intermediate > results in string expressions can cause much overhead. > IMHO this can only just be a test in order to proof the concept of Strings implemented as objects. To make it useful compiler magic is required. -Michael -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
