develooper Front page | perl.perl6.internals | Postings from January 2002

Re: Lexical implementation work

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
January 28, 2002 15:45
Subject:
Re: Lexical implementation work
Message ID:
20020128231127.GA24459@Bagpuss.unfortu.net
On Sat, Nov 10, 2001 at 12:37:24PM -0500, Dan Sugalski wrote:
> I think we're going to switch over to some sort of key creation op, but I'm 
> not sure at the moment. Constant keys are easy, of course--they can be 
> thrown up into the constants section, built at compile-time.

Do constants with precomputed hashes buy us enough to overcome the extra
memory needed to store the integer for the hash as well as the string?

On and off I've been playing with this in perl5, but it seems to be
impossible to make a benchmarkable difference (either faster *or* slower)

Nicholas Clark
-- 
EMCFT http://www.ccl4.org/~nick/CV.html

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