[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Work around Java's ``code too large'' limitation
From: |
Paolo Bonzini |
Subject: |
Re: Work around Java's ``code too large'' limitation |
Date: |
Mon, 10 Nov 2008 14:37:29 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Di-an JAN wrote:
>> From: Paolo Bonzini <address@hidden>
>> Date: Tue, 28 Oct 2008 18:59:16 +0100
>> To: address@hidden, address@hidden
>> Subject: Proposals for various changes to the Java parser
>>
>>> 5. Work around Java's ``code too large'' limitation for large parser
>>> tables.
>>> http://lists.gnu.org/archive/html/help-bison/2008-10/msg00005.html
>>
>> I think switching unconditionally to one-initializer-per-table is the
>> easiest approach by far, and gives 99% of the benefit.
>
> I implemented the version that allows more than about 10000 states,
> symbols, rules, and table entries, just to show that it could be done
> with only changes to the Java skeleton. Then it's easy to stripped down
> to the simpler version. I don't really care which version is comitted.
I committed the simpler version for now. Thanks!
Paolo