[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LPEG User defined patten handler collection callback
- From: Daurnimator <quae@...>
- Date: Sun, 24 Jun 2012 05:23:20 +1000
I apologise for that last email....
My 5 minute attempt at a reference counting system was a complete
failure that managed to pass my test script by luck...
This needs more thought...
On 24 June 2012 02:46, Daurnimator <firstname.lastname@example.org> wrote:
> Attached is a diff that adds reference counting...
> I may not have done this in the best way; but it seems to work.
> On 24 June 2012 01:48, Daurnimator <email@example.com> wrote:
>> Damn, I just realised this patch doesn't work.
>> The lpeg VM copies around the instructions, which can result in the
>> above patch doing multiple gcs, or missing them completely.
>> Can anyone think of a nice way to manage this? I'm thinking add
>> another field that does reference counting.....