dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DotGNU]String intern hashtable


From: Thong \(Tum\) Nguyen
Subject: RE: [DotGNU]String intern hashtable
Date: Sun, 22 Jun 2003 21:52:23 +1200

Oh well.  Thought I'd mention it anyway :).

^Tum


> -----Original Message-----
> From: Rhys Weatherley [mailto:address@hidden
> Sent: Sunday, 22 June 2003 1:22 p.m.
> To: Thong (Tum) Nguyen; address@hidden
> Subject: Re: [DotGNU]String intern hashtable
> 
> On Sunday 22 June 2003 10:55 am, Thong \(Tum\) Nguyen wrote:
> 
> > I just noticed the string intern hasthable size is 512 (not a prime
> > number).  That could be the reason for the poor intern
performance....
> 
> The size was actually 2048 (support/intern.c) - 512 is the size for
other hash
> tables (support/hashtab.c).  Don't confuse intern'ing in the compiler
with
> intern'ing in the engine.  They are two completely separate things.
> 
> Changing these to prime numbers does help a little, but only on the
order of a
> second or so for a full pnetlib build.  If there is a bottleneck in
the
> system, then this isn't it.
> 
> Cheers,
> 
> Rhys.
> 
> _______________________________________________
> Developers mailing list
> address@hidden
> http://dotgnu.org/mailman/listinfo/developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]