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

Re: pmc RECALL command for preprocessor

Thread Previous
From:
Nicholas Clark
Date:
July 21, 2002 15:18
Subject:
Re: pmc RECALL command for preprocessor
Message ID:
20020721201032.GA305@Bagpuss.unfortu.net
On Sat, Jul 20, 2002 at 10:23:45PM -0400, Tanton Gibbs wrote:

> without the recall it performs in: 16.055 seconds
> with the recall it performs in: 16.722 seconds
> 
> So, it slowed it down 6.5 tenths of a second after 10,000,000 times.  That
> is not too bad for ensuring correct semantics.
> 
> What do you all think, should we pursue the function call
> and accept a minor slowdown, should we attempt to automatically inline the
> call, or should we abandon the RECALL idea altogether as a waste of time?

I like the idea of "correct semantics" :-)
I doesn't look like we're going to gain very much in speed by inlining it,
and I've not idea how much larger that would make the code. I suspect that
the size increase will cancel out most of the speed gain.

Nicholas Clark
-- 
Even better than the real thing:	http://nms-cgi.sourceforge.net/

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