afshinm / python-list-vs-tuple-benchmark

Performance benchmark between Python list and tuple

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

list vs. tuple benchmark in Python

A simple code to make a benchmark between list and tuple in Python.

Execute it

Issue following command for list benchmark:

$ python list.py

And use following command for tuple:

$ python tuple.py

Read more here: http://afshinm.name/python-list-tuple-performance-benchmark

About

Performance benchmark between Python list and tuple


Languages

Language:Python 100.0%