PS: On 2018-03-06, Simon King <simon.k...@uni-jena.de> wrote: > On 2018-03-06, Christian Stump <christian.st...@gmail.com> wrote: > I haven't really been able to work around the bottle neck, but got a > minor improvement (4%) as follows: > ... > And of course using cython helps as well. With the following Cython code, I am > down to 272 µs per loop, while your original Python code gave me 325 µs > per loop:
Sorry for having been unclear. Your original code gave 339 µs, my code in python gave 325 µs (that's 4% improvement), and my code in cython is of course still faster (that's 272 µs, thus almost 20% improvement in total). Cheers, Simon -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.