[racket] (Practical) Limits of Apply?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Aug 24 13:36:19 EDT 2010

Try it out and see. I believe that the below is considered a common
idiom and that Matthew has probably done some work to make it work
well, but the contribution of a stress test is always welcome.

Robby

On Tue, Aug 24, 2010 at 12:31 PM, Will M. Farr <wmfarr at gmail.com> wrote:
> Hello all,
>
> I recently encountered some library code of the form
>
> (apply append list-of-lists)
>
> where list-of-lists could be essentially arbitrarily long (i.e. list-of-lists came from clients of the library, and therefore could be anything).  I didn't try to break it, but it made me a little nervous---I know that other Schemes have limits on the number of arguments that can come through apply.  In practice, should I be worried about using apply on, say, 1M-element argument lists?
>
> Thanks,
> Will
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>


Posted on the users mailing list.