develooper Front page | perl.perl5.porters | Postings from June 2001

Re: Using xhv_foo instead of HvFOO

Thread Previous | Thread Next
From:
Ilmari Karonen
Date:
June 18, 2001 01:36
Subject:
Re: Using xhv_foo instead of HvFOO
Message ID:
Pine.SOL.3.96.1010618112840.1166D-100000@simpukka

On Sun, 17 Jun 2001, Doug MacEachern wrote:
> 
> the macros existed in the 5.000 release along with the avoidance of them
> in these cases.  maybe it made a bigger difference back on 1994-ish
> hardware?  its a question of {read,grep}abilty vs. performance, which
> tradeoff is more worthwhile in this case i'm not sure.  the avoidance of

Okay, how about this crazy idea?  Revert the code to its original form,
but add the unoptimized "canonical" expressions as comments.

Of course, that's still only worth the trouble if the speed difference
is actually measurable in practice.

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"So if you were shot with a .38, the homeopathic treatment is probably to
 deal with the remaining problem with a .22."     -- Zed Pobre in the SDM



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