[fpc-devel] Performance of string handling in trunk
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Jun 26 22:28:39 CEST 2013
Sven Barth schrieb:
> > IMO a reasonable decision should take into account the use of the
> RawByteString type in RTL code, e.g. for concatenation.
>
> The RTL already uses RawByteString for the concatenation helpers.
This means that the assumptions implied by that code have to be matched
by the RawByteString implementation, or the code must be changed when
the RawByteString implementation is changed.
Please note that I invited Michael Schnell to provide his version of
such RTL routines, compatible with *his* ideas about "better" string
handling. Any suggestions for deviating from the Delphi
implementation/behviour deserve an proof that they are useful in the
required low-level string manipulation functions. Only after this step
we can decide for what *other* purposes RawByteString can be used in
user code.
DoDi
More information about the fpc-devel
mailing list