Hello, Please review a performance optimization for HttpRequest.Headers and HttpRequest.ServerVariables collections. It implements lazy collection fill because most common flow is to ask for value by name. Only if user ask for enumerator or count, collection will be fully loaded. This gives about 25% performance improvement on common flow.
This causes one test case to fail: MonoTests.System.Web.Test_HttpFakeRequest.Test_EmptyUnknownRow : NullReferenceException was expected, in my opinion this test is incorrect, and should be removed, because it tests undocumented behavior that may depend on implementation. Vladimir
ServerVariablesCollection.cs.patch
Description: ServerVariablesCollection.cs.patch
WebROCollection.cs.patch
Description: WebROCollection.cs.patch
BaseParamsCollection.cs.patch
Description: BaseParamsCollection.cs.patch
HeadersCollection.cs.patch
Description: HeadersCollection.cs.patch
HttpRequest.cs.patch
Description: HttpRequest.cs.patch
System.Web.dll.sources.patch
Description: System.Web.dll.sources.patch
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list