On May 1, 7:03 am, "Stephen Hartke" <[EMAIL PROTECTED]> wrote:
Hi Stephen, > Thanks for the information! Using "Integer=int" has fixed most of my > problems. Turning off the preparser prevents "load cfuncs.spyx" from > working, so I haven't been using that. > > The main problem in my code, I discovered, was the use of Python lists and > numpy arrays. By accessing the contents of the numpy arrays directly in > Cython, I found that my code ran about 1,000 times faster. I remember > hearing that there might soon be new Cython features that would allow fast > access to numpy arrays. Is that work still in progress? Yes, IIRC it got accepted by the GSoC - so we should see what happens there over the next couple months. The numpy/scipy people are also really interested in Cython as a wrapper, so I expect this to happen and work quite well. > Best wishes, > Stephen Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---