[Mono-dev] Performance improvement in System.Web.HttpWriter
Joshua Tauberer
jit at occams.info
Mon May 14 08:37:43 EDT 2007
Vladimir Krasnov wrote:
> Please approve attached patch that improves performance of HttpWriter.
> It uses GetMaxByteCount in Write and WriteString methods instead of
> GetBytesCount.
I've been meaning to get a patch in to do that. In your patch, though,
you can even get rid of a string-to-char[] conversion (s.ToCharArray)
and just pass 'count' to GetMaxByteCount.
--
- Josh Tauberer
http://razor.occams.info
"Yields falsehood when preceded by its quotation! Yields
falsehood when preceded by its quotation!" Achilles to
Tortoise (in "Gödel, Escher, Bach" by Douglas Hofstadter)
More information about the Mono-devel-list
mailing list