On Mon, 23 May 2011 04:14:32 +0300, Robert Jacques <[email protected]> wrote:

On Sun, 22 May 2011 19:30:58 -0400, Vladimir Panteleev <[email protected]> wrote:

On Mon, 23 May 2011 02:15:49 +0300, Robert Jacques <[email protected]> wrote:

As for performance, using appender is never slower than ~=, as it uses essentially the same code.

I don't think using ~= when appending a string to a string will validate the UTF. Will it?


For string ~= string, appender calls string[] = string, which does a memcopy, iirc.

Right, so my complexity rant was BS, but appender will still validate UTF on every append, unlike ~=. Isn't that a bug?

--
Best regards,
 Vladimir                            mailto:[email protected]

Reply via email to