gtanner/twill — pull request #1 by ichernev (2012-04-07 13:36:01+00:00)
Title: Added a simpler interface to weave that does not need target function iteration

If you are wrapping big objects with many functions, traversing all of them each time you wrap may be costly. So I added a function fastAspect, which exports a similar interface, but the function names are not preloaded in before/after/around etc, but instead, you pass the function name as a string.

I agree that this is not the cleanest implementation, but I'm open to suggestions (as far as the solution does not iterate through the object's functions).