gandie / RangeTrouble

Some Python loop examples to compare execution times of different implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeTrouble

Some Python loop examples to compare execution times of different implementations, intended for training purposes.

Uses matplotlib to draw diagrams of execution times in dependence of list sizes.

Installation

pip install -r requirements.txt

Test

Simply run the python files, optionally change global variables to change stepsize and other settings.

python rangetrouble.py

Example Output

Python3 example output

About

Some Python loop examples to compare execution times of different implementations


Languages

Language:Python 100.0%