Am 10.09.2010 02:41, schrieb Hans-Peter Diettrich: > Florian Klaempfl schrieb: > >> 1. Ancient code, keep in mind, most code not being back end code was >> written ~10 years ago. At this time we even could not depend on >> perfectly working ansistrings. > > I'm talking about nowadays situation.
You asked for reasons why it is done as it is done. > >> 2. Ansistring create an explicit exception frame etc. which slows down >> things. > > Also when the strings are const parameters, as they are in this case? If there is no other use, no. But if there is any processing or just a local ansistring: yes. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel