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
In reply to Re^3: Does Perl do constant anonymous hash creation optimisation?
by jaa
in thread Does Perl do constant anonymous hash creation optimisation?
by jaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |