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

Re: Make encoding lexical ?

Thread Previous
From:
Nicholas Clark
Date:
April 1, 2006 13:05
Subject:
Re: Make encoding lexical ?
Message ID:
20060401210543.GT32132@plum.flirble.org
On Sat, Apr 01, 2006 at 10:02:14PM +0100, Nicholas Clark wrote:
> 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

mmm,
for
   "It might be possible to reduce it back by one pointer by putting it in %^H"
read
   "It might be possible to reduce it back by one pointer by putting cop_io
    in %^H"

Nicholas Clark

Thread Previous


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