projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ddca6c8
)
inject empty DESTRUCT method for performance improvement.
Tokuhiro Matsuno [Sat, 6 Dec 2008 05:50:42 +0000 (
05:50
+0000)]
lib/Mouse/Meta/Method/Destructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Meta/Method/Destructor.pm
b/lib/Mouse/Meta/Method/Destructor.pm
index
09e23bc
..
935be3b
100644
(file)
--- a/
lib/Mouse/Meta/Method/Destructor.pm
+++ b/
lib/Mouse/Meta/Method/Destructor.pm
@@
-16,7
+16,7
@@
sub generate_destructor_method_inline {
}
join "\n", @code;
} else {
- return; # no demolish =)
+ return 'sub { }'; # no demolish =)
}
};