#15912: pretty print too slow with long lists
-------------------------------------------------+-------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: performance | Resolution:
Keywords: pretty, output, lists, | Merged in:
factorial | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by rws):
It seems ipython's behaviour is different if I say in ipython:
{{{
print range(10**6) # case 1, fraction of a second, output in ONE
line
range(10**6) # case 2, ten seconds, 10^6 lines
}}}
and the difference is not due to the actual output, but presumably the
formatting of the one-value-per-line output.
So, at least people wanting to catch a big output can work around the
issue by saying `print`.
--
Ticket URL: <http://trac.sagemath.org/ticket/15912#comment:2>
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.