This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for wiki ApplyArgsLimit version 1

author

cowan

comment


    

ipnr

127.11.51.1

name

ApplyArgsLimit

readonly

0

text

These tests try to find out the practical limits of the length of ''list'' in `(apply + `''list''`)`.  I used `make-list` to construct a list of one million zeros and invoked the above `apply`.  If it worked, I tested no further; if it crashed, I read the error messages and when necessary tested with shorter lists.

These tests were done on a 64-bit Linux system.

1000000 arguments works correctly:  Racket, Gauche, Bigloo, Kawa, SISC, SCM, Larceny, !IronScheme, NexJ, JScheme, !SigScheme, Scheme 9, KSi, Shoe, Rep, Schemik, !FemtoLisp, Dfsch, Inlab, Oaklisp, Sagittarius, Chibi

500000 arguments works correctly: Scheme48/scsh

100000 arguments works correctly: S7

60000 arguments works correctly: Guile

48000 arguments works correctly: !TinyScheme

32750 arguments works correctly: STklos

16000 arguments works correctly: SXM

14800 arguments works correctly: Llava

12000 arguments works correctly: Mosh

10000 arguments works correctly: XLisp, Elk

6500 arguments works correctly: Sizzle

1000 arguments works correctly: BDC

Hard limit is 126937 arguments: MIT

Hard limit is 8192 arguments: Gambit, Vicare

Hard limit is 2048 arguments: Chicken

Hard limit is 2026 arguments: Foment

Hard limit is 998 arguments: RScheme

Cannot run test: UMB, Owl Lisp

time

2014-12-05 09:44:01

version

1