[Mono-dev] Hashtable.Clone speedup.

Konstantin Triger kostat at gmail.com
Fri May 23 10:40:37 EDT 2008

We probably don't want to copy serializationInfo too, but need to copy
In addition, Array.Clone() should be the fastest way to copy arrays.

BTW, why do we need a copy ctor, if we have public Clone()?

On Fri, May 23, 2008 at 3:17 AM, Jb Evain <jb at nurv.fr> wrote:

> Hey,
> 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>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

Konstantin Triger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080523/852f582f/attachment-0001.html 

More information about the Mono-devel-list mailing list