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

Re: pmc RECALL command for preprocessor

Thread Previous
Nicholas Clark
July 21, 2002 15:18
Re: pmc RECALL command for preprocessor
Message ID:
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:

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About