develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000330.052] Use of uninitialized value inconcatenation (.)

Dan Sugalski
March 31, 2000 11:42
Re: [ID 20000330.052] Use of uninitialized value inconcatenation (.)
Message ID:
At 12:26 PM 3/31/00 -0700, Joseph N. Hall wrote:
>I'm not completely convinced that adding markers to the bytecode
>stream to indicate when run-time interpolation is in effect is such
>a bad idea.  It might allow finer-grained control over interpolation
>(with overload?  or?) as well as more accurate Deparse, both of which
>might turn out to be quite valuable.  Just to resolve the problem
>with the warning message, though, it's way too much work.

An added field could be thrown into the opcodes, but the problem with that 
is the opcodes take even more memory than they used to. They keep getting 
bigger, and I think we're seeing slowdowns as it is from larger opcodes. 
(The bigger they are the fewer fit in a page or the processor cache, though 
we're pretty profligate with D-space as it is)

It might be worth doing to opcodes what we do to SVs and make the opcode 
itself smaller with the 'extras' hanging off a secondary structure, but I 
don't know that it'd be a win overall.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About