Front page | perl.perl6.internals |
Postings from December 2001
Re: setline
Thread Previous
|
Thread Next
From:
Dan Sugalski
Date:
December 19, 2001 18:28
Subject:
Re: setline
Message ID:
5.1.0.14.2.20011219212753.02f40e18@pop.sidhe.org
At 12:36 AM 12/20/2001 +0000, Simon Cozens wrote:
>On Wed, Dec 19, 2001 at 11:38:39PM +0000, Alex Gough wrote:
> > We're clearly doing this wrong, is it really worth calling
> > setline every time we *run* the line in question
>
>We call setline whenever the code generated by the compiler tells us
>to. If it's so dumb that it calls setline in the middle of a tight
>loop, so be it.
It's definitely *not* the way to go, that's for sure. Not for performance
reasons, certainly. We should come up with an alternative for the bytecode
files that has the line number info out of band.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next