John,

Thanks for your reply. However, according to my calculator 2^30 is
1,073,741,824 which should be more than enough. Where did all the space
go? I also thought about a vector of vectors but I'd like to keep it
simple, if possible. A 64 bit machine is not an option at the moment.

Cheers,
Mark


> 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    [EMAIL PROTECTED]
> hands thoroughly before going to the toilet.    http://www.ccil.org/~cowan
>         --gadicath
>




_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to