[Mono-dev] Hashtable.Clone speedup.
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:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list