[Numpy-discussion] ANN: numexpr 2.4.3 released
Neil Girdhar
mistersheik at gmail.com
Wed Apr 29 07:26:08 EDT 2015
Sorry for the late reply. I will definitely consider submitting a pull
request to numexpr if it's the direction I decide to go. Right now I'm
still evaluating all of the many options for my project.
I am implementing a machine learning algorithm as part of my thesis work.
I'm in the "make it work", but quickly approaching the "make it fast" part.
With research, you usually want to iterate quickly, and so whatever
solution I choose has to be automated. I can't be coding things in an
intuitive, natural way, and then porting it to a different implementation
to make it fast. What I want is for that conversion to be automated. I'm
still evaluating how to best achieve that.
On Tue, Apr 28, 2015 at 6:08 AM, Francesc Alted <faltet at gmail.com> wrote:
> 2015-04-28 4:59 GMT+02:00 Neil Girdhar <mistersheik at gmail.com>:
>
>> I don't think I'm asking for so much. Somewhere inside numexpr it builds
>> an AST of its own, which it converts into the optimized code. It would be
>> more useful to me if that AST were in the same format as the one returned
>> by Python's ast module. This way, I could glue in the bits of numexpr that
>> I like with my code. For my purpose, this would have been the more ideal
>> design.
>>
>
> I don't think implementing this for numexpr would be that complex. So for
> example, one could add a new numexpr.eval_ast(ast_expr) function. Pull
> requests are welcome.
>
> At any rate, which is your use case? I am curious.
>
> --
> Francesc Alted
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150429/4b974e74/attachment.html>
More information about the NumPy-Discussion
mailing list