ShuhuaGao / geppy

A framework for gene expression programming (an evolutionary algorithm) in Python
https://geppy.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
207 stars 76 forks source link

Questions about using numba to speed up evaluation functions #48

Open ZhichaoGu opened 11 months ago

ZhichaoGu commented 11 months ago

I see that you are using JIT of the numba library to speed up the evaluation function in your example, but when I used it, I found that numba does not seem to recognize those custom classes, so an error will be reported directly when using JIT. Is there any good solution to this situation?

ShuhuaGao commented 11 months ago

The usage of numba is quite limited. It simply cannot accelerate everything. Please check the doc of numba. It has nothing to do with geppy.