in reply to A Luser's Benchmarking Tale

Hmmm, 5000000 executions / 13 seconds = damn good performance if you ask me. I don't see any reason to use a label in this code though. Is it faster with a naked "last" than with a label?

Replies are listed 'Best First'.
Re: Re: A Luser's Benchmarking Tale
by Melly (Chaplain) on Nov 26, 2003 at 17:44 UTC

    "Is it faster with a naked last.."

    I hope so (checks... oops, a bare last breaks benchmarking AFAICT)

    As for not needing a label - in this test, no. My original production code had grown like mutant bamboo and the labels had been a quick fix - they're gone now (and that plus other fixes means my code is running about 300% faster!)

    Tom Melly, tom@tomandlu.co.uk