develooper Front page | perl.perl5.porters | Postings from April 2006

Re: Make encoding lexical ?

Thread Previous | Thread Next
Nicholas Clark
April 1, 2006 13:02
Re: Make encoding lexical ?
Message ID:
On Sat, Apr 01, 2006 at 10:48:28PM +0200, Rafael Garcia-Suarez wrote:
> On 4/1/06, Nicholas Clark <> wrote:
> > Well, if I'm following the new implementation correctly it would work.
> > Although I'd be tempted to add a regular hints bit (or at least a flag bit
> > on the relevant ops) to say "there is something to find in cop_hints" as
> > the lookup is linear and quite a few ops use PL_encoding.
> That's a good idea. Also, I wonder whether we could use the cop_hints
> to remove the need for cop_io. (And maybe cop_arybase, too. People who
> set arybase don't deserve good performance :) only use a flag to say
> "arybase is non-zero, look up its value in cop_hints".)

I think you've been reading my mind :-)

Also, I realise that I've bust B::ByteLoader and the bytecompiler because
they don't save/load the new field in COPs. I'm not sure what to do.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About