Yoooooooooo ! > Well, that's essentially what I suggested earlier modulo using > > _a_cached = cached_function(_a_noncached)
True, true. I just liked the trick of having only one version of the function and calling .f() directly ^^; > So, depending on how smart the Python compiler is (...), you may win a couple of femtoseconds with Nils' version... Time, and in particular femtoseconds, is money. Okay, cents. And perhaps not even that. But still. Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.