>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>> do we always emit one in
>> loops?
DS> At least one per statement, probably more for things like regexes.
>> what about complex conditional code? i don't think there is an
>> easy way to guarantee events are checked with inserted op codes. doing
>> it in the op loop is better for this.
DS> I'd agree in some cases, but I don't think it'll be a big problem
DS> to get things emitted properly. (It's funny we're arguing exactly
DS> opposite positions than we had not too long ago... :)
true!
then what about a win/win? we could make the event checking style a
compile time option. an event pragma will set it to emit op codes, or
check in the op loop or do no checking in the loop but have an main
event loop. we need 2 or 3 variant op loops for that (very minor
variants) and some minor compile time conditions. i just like to be able
to offer control to the coder. we can make the emit event checks version
the default as that will satisfy the most users with the least trouble.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Search or Offer Perl Jobs -------------------------- http://jobs.perl.org