On 10/11/2011 11:28 AM, Hans-Peter Diettrich wrote:

Excessive use of RawByteString is at least as inefficient as using Variant for everything :-(


While I still doubt that (only) RawByteString is a type that is to be used for dynamical encoding....

That is correct, depending on what excessive means in a practical case.

If the encoding is the same in the flow of the complete program, only the checking of the code ID is necessary and this does not impose considerable speed degradation. If you deal with multiple encoding at the same time in an unthoughtful way, a speed disaster is bound to happen.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to