From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Uniform vector lengths -- how long? Date: Mon, 21 Jun 2004 00:37:40 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87wu21cvyz.fsf@trouble.defaultvalue.org> References: <878yeieyhp.fsf@trouble.defaultvalue.org> <87vfhlstec.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087796336 6548 80.91.224.253 (21 Jun 2004 05:38:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 05:38:56 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 21 07:38:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcHW4-0001OB-00 for ; Mon, 21 Jun 2004 07:38:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcHXI-0001vD-7O for guile-devel@m.gmane.org; Mon, 21 Jun 2004 01:40:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcHXF-0001v3-Ro for guile-devel@gnu.org; Mon, 21 Jun 2004 01:40:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcHXD-0001ub-UA for guile-devel@gnu.org; Mon, 21 Jun 2004 01:40:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcHXD-0001uY-P5 for guile-devel@gnu.org; Mon, 21 Jun 2004 01:39:59 -0400 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcHVc-00070V-GD for guile-devel@gnu.org; Mon, 21 Jun 2004 01:38:20 -0400 Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by defaultvalue.org (Postfix) with ESMTP id 049F840F4 for ; Mon, 21 Jun 2004 00:38:20 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id F2EC8410B8; Mon, 21 Jun 2004 00:37:41 -0500 (CDT) Original-To: guile-devel@gnu.org In-Reply-To: <87vfhlstec.fsf@zip.com.au> (Kevin Ryde's message of "Mon, 21 Jun 2004 09:26:35 +1000") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3812 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3812 Kevin Ryde 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel