3 ms·
Some things aren’t feasible to use another language for, but I see your point. My use case is MILP optimization. Constructing the model representation(the step
by l33t7332273 2y ago
Some things aren’t feasible to use another language for, but I see your point.
My use case is MILP optimization. Constructing the model representation(the step necessary before calling some optimizer binary) is very slow in CPython, and Pypy makes development much less painful, since you often need to construct many models to get it right.
- hellohello2 2y agoThanks, this is really interesting. How big of a speed up have you been observing?
- v3ss0n 2y agoas other commenter and i had mentions Some cases 100x increase , On many Cases 20x , on Bad cases 4x , on worst cases around 10% slower than python ( In case of some C Extensions ) . On unusable cases some libraries ( those with rust bindings and non-public CPyExt API) PyPy fails to work.