Popular recipes by Ivo Danihelka http://code.activestate.com/recipes/users/4168810/2010-05-23T16:06:33-07:00ActiveState Code RecipesFaster Factorial (Python) 2010-05-23T16:06:33-07:00Ivo Danihelkahttp://code.activestate.com/recipes/users/4168810/http://code.activestate.com/recipes/577241-faster-factorial/ <p style="color: grey"> Python recipe 577241 by <a href="/recipes/users/4168810/">Ivo Danihelka</a> (<a href="/recipes/tags/factorial/">factorial</a>). Revision 3. </p> <p>If you are calling factorial() many times, it is worth to cache the computed factorials.</p> Non-invasive Dependency Injection (Python) 2009-01-11T13:33:32-08:00Ivo Danihelkahttp://code.activestate.com/recipes/users/4168810/http://code.activestate.com/recipes/576609-non-invasive-dependency-injection/ <p style="color: grey"> Python recipe 576609 by <a href="/recipes/users/4168810/">Ivo Danihelka</a> (<a href="/recipes/tags/dependency_injection/">dependency_injection</a>, <a href="/recipes/tags/oop/">oop</a>, <a href="/recipes/tags/spring/">spring</a>). Revision 13. </p> <p>A Dependency Injection Container that works with normal classes. It fills given constructors or factory methods based on their named arguments.</p>