[Mono-devel-list] [PATCH] Virtual hosts with mod_mono_server

Adam Chester achester at bigpond.com
Fri Feb 6 06:56:30 EST 2004

I can only guess you need a good GetHashCode() impl, and encapsulate your
hash keys into a single object (which then overrides Object.GetHashCode())

if this method is called every request, and you think it's likely somebody
would run >10 vhosts in a single mod_mono_server, you probabaly want to do
this, but it depends on usage scenarios.

Go here for an intro:

- adam

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Jaroslaw
Sent: Friday, 6 February 2004 8:14 PM
To: Adam Chester; 'mono-devel mailing list'
Cc: gonzalo at ximian.com
Subject: Re: [Mono-devel-list] [PATCH] Virtual hosts with mod_mono_server

> RE: 1
> Try HybridDictionary
> As MSDN states:
> "Implements IDictionary by using a ListDictionary while the collection 
> is small, and then switching to a Hashtable when the collection gets

Yes, but I need to have a rather complex hashtable key (3 elements, some of
them used) + this creates a temporary object.
I'm actually quite interested in using hybrid dictionary here in
"GetApplicationForPath()". Can you suggest - how to do it?


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list