Skip to content

Hackermen/python-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

python-experiments

Benchmark 1

Algorithms for: "Given an array either entirely comprised of odd integers or entirely comprised of even integers except for a single integer N, write a function that returns N" (full description inside benchmark-1.py).

(Time in seconds)

python2 python3 pypy
algo_1 0.84 0.88 0.032
algo_2 3.82 2.50 3.024
algo_3 3.82 3.10 2.616
algo_4 0.86 0.98 0.063
algo_5 0.34 0.47 0.009

Hardware: Ubuntu 16.10 64-bit - Intel® Core™ i5-4210H CPU @ 2.90GHz × 4 - 7.7 GiB RAM

Contributors: @AndreiRegiani, @luizdepra, @skhaz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages