[XML-SIG] Reading characters

Martin v. Loewis martin@v.loewis.de
22 May 2002 08:40:56 +0200


Albert Chin <xml-sig@thewrittenword.com> writes:

> This is just unbelievable! Thanks a lot!

I suspected that you would perform repeated addition of the characters
you get. This algorithm is quadratic in length of the final string (if
you have chunks of limited length), since the first character is
copied over and over again. Without seeing the source, that was
impossible to know for sure, though.

Regards,
Martin