Open pickfire opened 1 year ago
It basically comes down to just the difference between a .py and .pyc file, since inline-python compiles the Python code to Python bytecode at (Rust) compile time. There is probably plenty of information already out there about .py vs .pyc files.
Should we mention this in the readme?
Some says that calling python from rust is faster than running python code directly. https://users.rust-lang.org/t/why-calling-python-from-rust-is-faster-than-python/39789
Even though it's not a fair comparison, maybe we can see how much faster is it?