[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Large vector
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Large vector |
Date: |
Thu, 10 May 2007 13:56:31 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Mark Voortman scripsit:
> I have an urgent need to create a vector with a capacity of over 100
> million elements. However, I get an out of range exception when I call
> make-array since the numbers of elements is limited to 16777215. Where can
> I increase this limit?
The simplest way is to move to a 64-bit computer, where the limit is
2^62 rather than 2^30. Failing that, you can use a vector of
vectors and write your own (trivial) getter and setter procedures.
--
Yes, chili in the eye is bad, but so is your John Cowan
ear. However, I would suggest you wash your address@hidden
hands thoroughly before going to the toilet. http://www.ccil.org/~cowan
--gadicath