[Numpy-discussion] ANN: numexpr 2.4.3 released
njs at pobox.com
Mon Apr 27 19:14:50 EDT 2015
On Apr 27, 2015 1:44 PM, "Neil Girdhar" <mistersheik at gmail.com> wrote:
> I've always wondered why numexpr accepts strings rather than looking a
function's source code, using ast to parse it, and then transforming the
AST. I just looked at another project, pyautodiff, which does that. And I
think numba does that for llvm code generation. Wouldn't it be nicer to
just apply a decorator to a function than to write the function as a Python
Numba works from byte code, not the ast. There's no way to access the ast
reliably at runtime in python -- it gets thrown away during compilation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion