Subject: | Avoid reconstructing a hash on every construction |
This code:
$source .= <<"EOF";
my \%attrs = (@attrs);
...
ends up creating %attrs on every construction. This is wasteful. Using
'state' would be better, or the pre-state equivalent.
I've committed a patch to git branch "chip/fast1".