Hey, In any case, I think it should be clearly documented that, for good > performance, one should avoid cross-parent arithmetic operations > altogether, or one should at least keep a pointer to the parent of the > result. > > But where should I put such a warning? I don't think > sage.structure.coerce would be a good location, because only experts > would look there. So, it should be a (thematic) tutorial. What would you > suggest? Speaking of tutorials, I should finally try to convert my > coercion > worksheet into a tutorial... >
I think a tutorial on coercion would be useful (in particular, one on how to implement the coercion model; maybe there is already one and I just haven't found it yet...), but perhaps we should also have a tutorial on writing efficient sage code and the little nuances that can affect run speed (such as arithmetic in a common parent)? -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
