#14982: When a parent is equipped with an embedding, consider coercions that
don't
go through the embedding
-------------------------------------+-------------------------------------
Reporter: mmezzarobba | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: embedding | Merged in:
Authors: Marc Mezzarobba, | Reviewers:
Vincent Delecroix | Work issues:
Report Upstream: N/A | Commit:
Branch: | d99564520a5fd599c0fea62b86d0bdbfbd35c1a4
u/mmezzarobba/14982-coerce_embeddings| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
Replying to [comment:58 mmezzarobba]:
> Replying to [comment:56 vdelecroix]:
> > {{{
> > sage: timeit("mor(a)", number=5000, repeat=6)
> > 5000 loops, best of 6: 120 µs per loop
> > }}}
>
> Are these lines a copy-paste error, or did you observe a speed
regression with some coercions? (On my machine, applying the morphism
returned by `PowerSeriesRing(C12, 'x').coerce_map_from(C4)` takes almost
exactly as much time before and after my patches.)
Oops sorry. Yes, I observed a tiny regression speed of roughly 4% (120 µs
vs 115 µs). Not very significant and that's the reason why I erased half
of it.
--
Ticket URL: <http://trac.sagemath.org/ticket/14982#comment:59>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.