[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] r5rs compliant (part ii)
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-hackers] r5rs compliant (part ii) |
Date: |
Thu, 13 Aug 2009 23:22:49 -0500 |
On Tue, Aug 4, 2009 at 12:33 PM, Thomas Bushnell BSG<address@hidden> wrote:
> * Limitation to 120 parameters in procedure calls
Not true. Did you try it? The limit is 2048 for procedure calls as
long as apply-hack (manyargs) is active, due entirely to temporary
stack size, and 126 for procedure calls otherwise, due to C language
limitation. apply-hack is almost always active unless you're on a
weird platform.
Example:
$ csi -R srfi-1
Version 4.1.1 - SVN rev. 15417
macosx-unix-gnu-x86 [ manyargs dload ptables applyhook ]
#;1> ##sys#apply-argument-limit
2048
#;2> (list-ref (apply list (iota 2048)) 2047)
2047