projects
/
gitmo/Eval-Closure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
447800b
)
and, memoize making the compiler
Jesse Luehrs [Thu, 21 Oct 2010 05:17:28 +0000 (
00:17
-0500)]
lib/Eval/Closure.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Eval/Closure.pm
b/lib/Eval/Closure.pm
index
aa0777d
..
c563dc3
100644
(file)
--- a/
lib/Eval/Closure.pm
+++ b/
lib/Eval/Closure.pm
@@
-8,6
+8,7
@@
use Sub::Exporter -setup => {
use Carp;
use overload ();
+use Memoize;
use Scalar::Util qw(reftype);
use Try::Tiny;
@@
-104,6
+105,7
@@
sub _make_compiler {
my $e = $@;
return ($compiler, $e);
}
+memoize('_make_compiler');
sub _make_compiler_source {
my ($source, @capture_keys) = @_;