[Mono-dev] Patch for HttpRequest.cs

Juraj Skripsky js at hotfeet.ch
Fri May 26 10:40:39 EDT 2006


You're right. A small benchmark confirms that the original "scanning"
core is always faster than the "split" one. Only empty query strings
make the new one go faster. So I'll keep the original in HttpUtility and
just prepend "if (query.Length == 0) return;".

- Juraj

On Fri, 2006-05-26 at 15:46 +0200, Kornél Pál wrote:
> Hi,
> I didn't do performance tests but the original core ParseQueryString 
> implementation may be faster. You should give it a try. I didn't evaluate 
> whether movig string query_string to UrlComponents is good so I don't know 
> but I like the other modifications. Of course I think you should wait for an 
> approval.
> Kornél

More information about the Mono-devel-list mailing list