[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uniform vector lengths -- how long?
From: |
Rob Browning |
Subject: |
Re: Uniform vector lengths -- how long? |
Date: |
Mon, 21 Jun 2004 00:37:40 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
>> What if someone wants to allocate a multi-GB s8 array on a 64-bit
>> machine,
>
> Yes, lifting it from an int to a long (or a size_t) would ensure
> 64-bits can be fully used. (Eg. on alpha, I think.)
OK, so it sounds like you'd argue we stick with SCM_CELL_WORD_2 for
the length (which I believe can be treated as an unsigned long), and
then just be consistent in the rest of the code. If so, then I
suppose we should use scm_num2ulong in make-FOOvector and friends,
rather then SCM_INUM.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4