Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@picofarad python stuff is never really 'hot' because there's an interpreter, and it has to load its stdlib and other shit, and then parse the script, and run it.
you can help this process along a little by pre-compiling your python to bytecode.
there are other tools like cpython or pypy which help compile the code so its not running in the (relatively slow) cpython environment
but, honestly, it will never be as fast as the c and rust program that is entirely held in cache and your OS can just jump to it when its called again. if you want that you need to use a c/rust/nim/pascal/whatever program.