Following up on this finally
On 06/08/12 20:41, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: CFEngine Help: memory exhausted error
> Author: passerby
> Link to topic: https://cfengine.com/forum/read.php?3,26355,26914#msg-26914
>
> You've been using right recursion in your bi
Forum: CFEngine Help
Subject: Re: CFEngine Help: memory exhausted error
Author: passerby
Link to topic: https://cfengine.com/forum/read.php?3,26355,26914#msg-26914
You've been using right recursion in your bison rules.
This uses up bison's stack of tokens if you're parsing long lists.
Solution:
Forum: CFEngine Help
Subject: Re: CFEngine Help: memory exhausted error
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26355,26360#msg-26360
Yes, I've been using regline for long list class matching. As you say the
performance difference is huge. Still, I worry that som
Forum: CFEngine Help
Subject: Re: CFEngine Help: memory exhausted error
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,26355,26359#msg-26359
Unfortunately the alternative to bison is yacc, which is much worse. I don't
really understand why bison runs out of memory on long lists
Forum: CFEngine Help
Subject: Re: CFEngine Help: memory exhausted error
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26355,26358#msg-26358
I belive I've heard that Bison is generally to blame for poor list processing
performance in Cfengine. If that is true, is there