moose/Moo — pull request #2 by bluefeet (2013-12-30 17:38:40+00:00)
Title: add undefer_all to Sub::Defer

I talked with mst on #Moose about the some performance ideas I've been thinking of. One of them had to do with not undefering Moo subs in forked children in a starman setup. He suggested this line of code:

Sub::Defer::undefer_sub($_) for keys %Sub::Defer::DEFERRED;

And suggested that he would not be against the idea of adding an undefer_all to Sub::Defer.

So, here it is.