#14585: Make lazy_format and lazy_string faster
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: robertwb
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/SimonKing/Make_lazy_format_faster| aafac26f2b18dc81e79496d6eeba03d69f364038
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Replying to [comment:57 SimonKing]:
> Replying to [comment:56 jdemeyer]:
> > Also, in `__richcmp__`, do not use magic values like `v == 2`, but use
the symbolic constants `Py_EQ` and so on (but personally I would like to
know why `PyObject_RichCompare` is slower).
>
> I wonder, too.
Strangely, after repeating the test, I get the opposite behaviour: A
slight improvement. Perhaps I had confused the two test results?
Anyway, pushing new commits shortly.
--
Ticket URL: <http://trac.sagemath.org/ticket/14585#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.