Re: [Rd] data frame subset patch, take 2

From: Marcus G. Daniels <>
Date: Wed 13 Dec 2006 - 18:23:21 GMT

Vladimir Dergachev wrote:

> 2. It would be nice to have true hashed arrays in R (i.e. O(1) access
> times). So far I have used named lists for this, but they are O(n):
new.env(hash=TRUE) with get/assign/exists works ok. But I suspect its just too easy to use named lists because it is easy, and that has bad performance ramifications for user code (perhaps the R developers are more vigilant about this for the R code itself). mailing list Received on Thu Dec 14 16:12:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 14 Dec 2006 - 06:30:53 GMT.

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