https://bugzilla.wikimedia.org/show_bug.cgi?id=18165





--- Comment #1 from Andrew Garrett <[email protected]>  2009-03-26 01:18:59 
UTC ---
(In reply to comment #0)
> The problem here is that a new parser is being created for every rule
> evaluation.  As currently implemented that means the subsequent rules aren't
> getting the benefit of the work done by prior rules.  In particular, the
> funcCache is being cleared and the variable holder reset to its initial 
> state. 

The function cache is a static variable, and therefore not cleared.

The variable holder is not being reset to its original state. It's an object,
so it's passed by reference, so you'd need specific code to reset it to its
original state.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to