#18868: a MemoryAllocator object for easier Cython memory management
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.8
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
cython | Work issues:
Keywords: | Commit:
Authors: | 9597eec5a42d72f66d56245f7312af3d69bbbf13
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/18868 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by jdemeyer):
Replying to [comment:19 ncohen]:
> I need real C arrays. The time it takes to allocate them is not a
problem in the graph code.
OK, here is a deal: if you really mean what you say (that you don't care
about the time to allocate, just the access time), then I'm pretty sure
that your problem can be solved with Cython arrays. A memoryview like
`cdef int[::1]` should be as fast as a C pointer.
--
Ticket URL: <http://trac.sagemath.org/ticket/18868#comment:24>
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.