>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:

DS> At 06:37 AM 8/7/00 -0400, Chaim Frenkel wrote:
>> Are there any (p5p) pragmas that have a runtime effect?

DS> strict, for one. Warnings for another.

Please explain how these are runtime? I see them as compile time.

>> Would requiring/limiting pragmas to have a strictly compile time effect
>> have a win for internals (performance, development, whatever)?

DS> Probably, but perl's dynamic enough that I don't think it's feasable.

How about a trial-balloon so that we can have some performance wins.

DS> I've been thinking we could have a "state change" op that would
DS> selectively and lexically alter the appropriate state variable
DS> (warnings, stricture, shell, taint checking, whatever) on the
DS> fly. Each op would check the current state if the situation
DS> warranted, rather than sprinkling "check this assumption" ops
DS> througout the code.

A different op would be a better performance win. Even those sections
that didn't want the check has to pay for it.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to