On Wednesday, January 28, 2015 at 3:14:33 AM UTC-8, vdelecroix wrote:
>
> Agreed. But these dramatic slowdown are for me a critical drawback.
> But of course preferable than the previous state.
>
Packaging coercions into a map has never been "good" for performance.
There's a good chance that if you ask for R.coercion_map_from(S) you will
get back a map that amounts to:
lambda (x): S(x)
and now there's a real penalty to calling R.coercion_map_from because it's
doing real work every time.
I exactly mean all that are needed to avoid the massive slowdown in
> the example of ProductRing given by Stefan. Such kind of things should
> work out of the box... otherwise we need to update the thematic
> tutorial on "how to construct parent" that you wrote some time ago.
>
It may well be that the tutorial doesn't take that into account.
--
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.
For more options, visit https://groups.google.com/d/optout.