#4941: pari list slicing is extremely slow -- make it much faster
-------------------------+--------------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.3
Component: interfaces | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by ylchapuy):
in GP I would do something like
{{{
u=start-step; v=vector(k,unused,p[u+=step])
}}}
but I don't know how to translate this...
otherwise for big blocks,
{{{
p.vecextract('"150..10000"')
}}}
might be faster
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4941#comment:3>
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
-~----------~----~----~----~------~----~------~--~---