[Mono-dev] Hashtable.Clone speedup.

Jb Evain jb at nurv.fr
Thu May 22 20:17:30 EDT 2008


On 5/23/08, Miguel de Icaza <miguel at ximian.com> wrote:
>     What to look for: I avoided copying two fields hashKeys and
>  hashValues as those seem like caches that are computed on demand.   But
>  did I miss anything important?

I don't think we want to clone the field modificationCount. Also it
could use Array.Copy.

Jb Evain  <jb at nurv.fr>

More information about the Mono-devel-list mailing list