Skip to content

neteraf0/speedup-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 

Repository files navigation

Speed measurements modifications to Python with statically typed languages

Algorithms used:

  1. Fibonacci Numbers(40)
  2. List of Prime numbers(5000)
  3. Factorial(100000)
  4. Bubble sort(10000)

Python + libs:

table by me

mode alg1 alg2 alg3 alg4
vanila 58.62 0.108 3.107 7.256
PyPy3 10.09 0.032 10.82 0.239
Cython(primordial) 7.562 0.063 3.329 4.577
Cython(refactor) 0.341 0.005 94e-5 1.370
Numba(decorator) 0.623 0.018 0.114 1.823

best Python mode vs statically typed languages

table by dereason

lang alg1 alg2 alg3 alg4
BPM 0.341 0.005 94e-5 0.239
C++ (GCC Compiler) 0.178
C#
golang 0.09

lazy Antony

About

speed measurements modifications to Python with statically typed languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors