#5345: [with patch, positive review] Optimize transpose, antitranspose for dense
matrices
----------------------------+-----------------------------------------------
Reporter: rbeezer | Owner: rbeezer
Type: enhancement | Status: closed
Priority: major | Milestone: sage-3.4
Component: linear algebra | Resolution: fixed
Keywords: transpose |
----------------------------+-----------------------------------------------
Comment(by ylchapuy):
Replying to [comment:11 mvngu]:
> Replying to [comment:6 ylchapuy]:
> > And some statistics:
> > {{{
> > Before:
> >
> > sage: m=identity_matrix(3000)
> > sage: time m2=m.transpose(); m3=m.antitranspose()
> > CPU times: user 14.13 s, sys: 1.11 s, total: 15.44 s
> > Wall time: 15.44 s
> > sage: get_memory_usage()
> > 1254.28125
> >
> > After:
> >
> > sage: m=identity_matrix(3000)
> > sage: time m2=m.transpose(); m3=m.antitranspose()
> > CPU times: user 2.92 s, sys: 0.46 s, total: 3.38 s
> > Wall time: 3.38 s
> > sage: get_memory_usage()
> > 835.6171875
> > }}}
> Is it possible for you to provide some information on the
computer/system architecture that you used to get the above statistics?
The improved performance is great news and I'll include this in the
release tour at
> [http://wiki.sagemath.org/sage-3.4]
> And it would also be good to have some info about the hardware under
which you arrived at the above statistics.
It was on my laptop:
{{{
Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz
MemTotal: 2066004 kB
Linux my-laptop 2.6.24-23-generic #1 SMP Thu Feb 5 15:00:25 UTC 2009 i686
GNU/Linux
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5345#comment:12>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---