[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Add detection for hitting rest argument co
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-hackers] [PATCH] Add detection for hitting rest argument count limit on direct procedure application (for #910, sort-of) |
Date: |
Thu, 25 Jul 2013 15:52:37 -0500 |
Nice. I'll check this out later today.
On Jul 25, 2013, at 13:23, Peter Bex <address@hidden> wrote:
> On Thu, Jul 25, 2013 at 08:54:39AM +0200, Peter Bex wrote:
>> My initial thought was to only generate some calls near the edge cases,
>> instead of doing all the calls from 0 up to 2048 arguments.
>>
>> I'm unsure how to best make it do this, and I was tired at the time so
>> I kept it as-is. Maybe someone can come up with a clever way to do this?
>
> Or maybe I can stop being lazy and do it myself ;)
>
> The attached patch simply invokes the procedures with argument counts
> from zero to 50 and from MAX-50 to MAX (or rather from MAX to MAX-50,
> but that's nitpicking).
>
> Cheers,
> Peter
> --
> http://www.more-magic.net
> <0001-Add-checks-for-hitting-the-rest-arg-count-limit-on-d.patch>