in reply to Re: Benchmark: Constant List in Hash Slice
in thread Benchmark: Constant List in Hash Slice

OK I thought the inlining of the constant list might happen early enough to trigger this pre-computation.

But the optimizer doesn't see the inlined keys as literal strings, so it has to calculate this lookup-index dynamically at run-time.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^2: Benchmark: Constant List in Hash Slice