[Rd] Mksetup() limited to hashing with 32 bits

From: Benjamin Tyner <btyner_at_gmail.com>
Date: Wed, 13 Jan 2010 21:10:55 -0500

The MKsetup() in unique.c throws an error if the vector to be hashed is longer than (2^32)/8:

    if(n < 0 || n > 536870912) /* protect against overflow to -ve */

        error(_("length %d is too large for hashing"), n);

I occasionally work with vectors longer than this on 64-bit builds. Would it be too much to ask that R can take advantage of all 64 bits for hashing when compiled as such?


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 14 Jan 2010 - 03:12:41 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 Mon 01 Feb 2010 - 11:20:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive