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 [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk