Re: [Rd] dict package: dictionary data structure for R

From: Seth Falcon <>
Date: Mon, 23 Jul 2007 10:26:13 -0700

Bill Dunlap <> writes:
> With environments, if you use a prime number for the size
> you get considerably better results. E.g.,

> Perhaps new.env() should push the requested size up
> to the next prime by default.

Perhaps. I think we should also investigate other hashing functions since computing the next prime and doing so for resizes will take longer than not having to do it and it will add complexity to the code.

+ seth

Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center

______________________________________________ mailing list
Received on Mon 23 Jul 2007 - 19:02:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 Jul 2007 - 18:37:02 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.