Re: [sage-support] Re: Optimizing this function with Cython

2014-03-16 Thread Georgios Tzanakis
On Sun, Mar 16, 2014 at 12:01 AM, Robert Bradshaw < rober...@math.washington.edu> wrote: > On Fri, Mar 14, 2014 at 2:03 PM, Georgios Tzanakis > wrote: > > > > On Fri, Mar 14, 2014 at 4:49 PM, Robert Bradshaw > > wrote: > >> > >> Note that >

Re: [sage-support] Re: Optimizing this function with Cython

2014-03-14 Thread Georgios Tzanakis
x27;re going to be dealing with arrays of ints you might want to > look into NumPy Hmm.. I wish I knew that earlier, I deal with many of such arrays. > and/or memory views for even more speed. > Could you elaborate a bit on that? Or just give me a link? Thanks again. > > >

Re: [sage-support] Re: Optimizing this function with Cython

2014-03-13 Thread Georgios Tzanakis
Hi Simon, I *really* appreciate your thorough answer! Indeed there was a bug and I had to do a couple of changes to the code, but I understood a lot of things about how to use Cython and was able to use it properly and have improvements. On top of that, I didn't know about the timeit function whic

Re: [sage-support] Re: Best strategy for exporting/importing big lists or tuples to human-readable files?

2014-03-07 Thread Georgios Tzanakis
Thanks.. In my case the csv solution is just fine, but it's good to know. On Thu, Mar 6, 2014 at 4:47 PM, Christophe Bal wrote: > Hello, > if you want to work with long table-array, it could be useful to use numpy. > > > 2014-03-06 22:19 GMT+01:00 geo909 : > >> I finally decided to use the csv

Re: [sage-support] Notebook: How to print long output lines (>72 characters) without breaks?

2013-05-19 Thread Georgios Tzanakis
That was simpler than I thought.. Thanks so much! On Sun, May 19, 2013 at 6:12 PM, Jim Clark wrote: > With the mouse pointer, click to the left of the line that is broken up. > That will toggle the output line to the non-breaking state. > > (I only recently discovered this solution when I was hav