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

Re: Make encoding lexical ?

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
April 1, 2006 13:02
Subject:
Re: Make encoding lexical ?
Message ID:
20060401210214.GS32132@plum.flirble.org
On Sat, Apr 01, 2006 at 10:48:28PM +0200, Rafael Garcia-Suarez wrote:
> On 4/1/06, Nicholas Clark <nick@ccl4.org> 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 :-)

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-03/msg01033.html


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.

Nick

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About