#14592: Use lazy strings for error messages in coercion
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.10
Component: performance | Keywords: lazy error message coercion
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies: #14585
Stopgaps: |
---------------------------+------------------------------------------------
At #14585, I propose some code that makes
`sage.misc.lazy_string.lazy_string` faster. I think it makes sense to use
it for error messages in the coercion model. This could accelerate stuff,
because some error messages rely on the string representation of a parent
(which is costly), but will never be printed (because the error is usually
caught).
The purpose of this ticket is to use #14585 in the coercion code.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14592>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.