in reply to Re^2: Does Perl do constant anonymous hash creation optimisation?
in thread Does Perl do constant anonymous hash creation optimisation?
Extending the cmpthese() example, I found no appreciable performance difference between:
So a big thumbs up for use constant()!use constant SKIPWORDS => {...}; our $SKIPWORDS = {};
Thanks for the help!
Jeff
|
|---|