3 ms·
If you want speed, do multithreaded C or C++ or Rust or Go. Python is one of the slowest languages out there, according to various benchmarks. Cython might help
by bufferoverflow 8y ago
If you want speed, do multithreaded C or C++ or Rust or Go. Python is one of the slowest languages out there, according to various benchmarks. Cython might help you some.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fasta.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/spectralnorm.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
(as you can see, Python is 50-100 times slower than C++)