With numexpr you can pass plain Python code, in Cython you have to re-implement the loop by hand. Also, it supports multi-threading by default without any further coding.
Johannes Schönberger
Am 20.05.2013 um 12:58 schrieb Stéfan van der Walt
Hi Johannes
On Fri, May 17, 2013 at 3:56 PM, Johannes Schönberger
wrote: I think, this could also improve performance of some functions in skimage. What's your opinion on adding this as a new dependency?
Do you think there's any advantage of using numexpr over Cython?
Stéfan
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Just have a look at https://code.google.com/p/numexpr/ - the site pretty much covers the advantages of numexpr.
Johannes Schönberger
Am 20.05.2013 um 13:16 schrieb Johannes Schönberger
With numexpr you can pass plain Python code, in Cython you have to re-implement the loop by hand. Also, it supports multi-threading by default without any further coding.
Johannes Schönberger
Am 20.05.2013 um 12:58 schrieb Stéfan van der Walt
: Hi Johannes
On Fri, May 17, 2013 at 3:56 PM, Johannes Schönberger
wrote: I think, this could also improve performance of some functions in skimage. What's your opinion on adding this as a new dependency?
Do you think there's any advantage of using numexpr over Cython?
Stéfan
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On Mon, May 20, 2013 at 1:17 PM, Johannes Schönberger
Just have a look at https://code.google.com/p/numexpr/ - the site pretty much covers the advantages of numexpr.
I'm familiar with the package, but I'm not sure how it benefits us. It's mainly for speeding up single-line expressions done on all the data, i.e. the kind of thing that numpy is pretty good for it does a little bit faster. Are you thinking of something like the recent exposure adjustment functions? Stéfan
participants (2)
-
Johannes Schönberger
-
Stéfan van der Walt