|
|
|
|
|
by lqdc13
3292 days ago
|
|
Blender Python lib by default is not optimized much. It has nothing to do with Python as a language. Use numpy for matrices. If you have to implement an algo with a hot inner loop, use cython or numba. I've never seen 100x difference in Python-C++ rewrite if Python was optimized already. Here is a good article about some of the options:
https://rare-technologies.com/word2vec-in-python-part-two-op... |
|
So it was a very specific case where we could get that 100x speedup at work.