aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-22 10:48:21 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-22 11:14:36 +0100
commit2e79b4ac22321abd69c7f1a9748b5761abaab1ec (patch)
treee7f3cb04aa24ddb39fa2ae7418aac3a69f7fe791 /README.md
parent6a83ee598406e9ee4bdd7169dfc4bb46284a2062 (diff)
downloadpush_swap-2e79b4ac22321abd69c7f1a9748b5761abaab1ec.tar.gz
push_swap-2e79b4ac22321abd69c7f1a9748b5761abaab1ec.tar.bz2
push_swap-2e79b4ac22321abd69c7f1a9748b5761abaab1ec.zip
Added micro optimisation when sorting frame == 2 and less reverse rotate when frame == full stack, norming
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 91259c3..0728978 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,8 @@ Test argument stack parsing
Make sure to have Python3.6 >=
+![benchmark\_image](./bench.png)
+
```
python benchmark.py 10 100 5 10
python benchmark_plot.py
@@ -59,6 +61,8 @@ python benchmark_plot.py
Plot operation distribution
+![benchmark\_dist\_image](./bench_dist.png)
+
```
python benchmark_plot.py --dist
```