in reply to Re^6: Profiling/Benchmarking web applications.
in thread Profiling/Benchmarking web applications

You're correct - it would be $fieldno. But, why would you say it uses eval? Again, I've read the TT book, but I don't use it on an everyday basis, so I don't know it as well as I would like.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

  • Comment on Re^7: Profiling/Benchmarking web applications.

Replies are listed 'Best First'.
Re^8: Profiling/Benchmarking web applications.
by jryan (Vicar) on Aug 25, 2004 at 19:30 UTC

    Hey, I'm just going on what you told me. :)

    Update: Yikes, it definitely uses eval! My script's runtime went from ~0.85 seconds back up to 1.3 just after a global replace of s/(?<=\.)slice\((\w+),\1\)\.0/\$$1/g; (i.e. .slice(fieldno,fieldno).0 to .$fieldno)!