in reply to Re^5: Quickly detecting variable writes
in thread Quickly detecting variable writes

Do you have any example where your $was_updated flag cannot be done away with completely and replaced with a simple test against @fixups?

onTime { my $attr = $NODE->getAttr("something"); my $val = $attr->getValue(); foreach (@fixups) { $val += $_; } if ( @fixups ) { $attr->setValue($val); $attr->doCallbacks(); } @fixups = (); }

If not, I'm kinda at a loss to understand the difficulty.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."