On Wednesday, May 14, 2014 3:45:06 PM UTC+1, Nathann Cohen wrote: > > Note that it changes nothing to my caching problem >
No, it does fix your caching problem. You can either cache the individual work_for_case_x or the is_constructible function. Just to be perfectly clear, the _select_case function does not perform any work! It only selects the function which would do the work if you were to call it. But since the function is returned unevaluated, no work is actually done. Only orthogonal_array evaluates, is_constructible does not evaluate. -- 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.