On Wednesday, June 19, 2013 1:25:22 PM UTC-7, Nathann Cohen wrote: > But I am pretty sure that my point was mostly that decorators are not > adapted in this situation, and that it can apparently be rewritten more > efficiently. >
Everything can be rewritten more efficiently, just at a cost in code size / maintainability and human effort. Much like Python itself, decorators are a way to make code smaller and easier to read for humans, at a certain performance penalty. Don't optimize for speed until profiling showed that this is a performance bottleneck. -- 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/groups/opt_out.