[scikit-image] 回复:Re: 回复: Numba on pypi

Josh Warner silvertrumpet999 at gmail.com
Thu Jul 13 14:37:45 EDT 2017


What I find numba brings to the table is a significantly more expressive
and easier to maintain code base.  Essentially writing basic bare bones
loops often are easiest to JIT.  They are then easier to debug, and faster
to iterate on thanks to removing the compilation step.

I haven't checked recently if numba is happy with certain very useful
features like np.nditer - if so, actually a large chunk of our Cython could
be replaced by simpler JITted code while making it n-D.

That said, Cython isn't going anywhere for the reasons Stéfan mentions
above... but I believe as soon as it is reasonable adding numba would yield
large benefits. Probably even more so than we fully appreciate.

Looks like we're nearing that point.

Josh


On Jul 13, 2017 11:23 AM, "Stefan van der Walt" <stefanv at berkeley.edu>
wrote:

On Thu, Jul 13, 2017, at 03:04, imagepy at sina.com wrote:

May I start a new topic thread? with the test image, and my numba code.


Yes, please.

Stéfan


_______________________________________________
scikit-image mailing list
scikit-image at python.org
https://mail.python.org/mailman/listinfo/scikit-image
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170713/82de9096/attachment.html>


More information about the scikit-image mailing list