From 6eac92f4ce3d457e784e891ba96cb0552ffacee3 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 9 Jan 2025 14:41:51 -0500 Subject: [PATCH] Fix small type in addictive_addition benchmarks --- bench/addictive_addition/addictive_addition.lua | 2 +- bench/addictive_addition/addictive_addition.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/addictive_addition/addictive_addition.lua b/bench/addictive_addition/addictive_addition.lua index 33a8ade..5a661ba 100644 --- a/bench/addictive_addition/addictive_addition.lua +++ b/bench/addictive_addition/addictive_addition.lua @@ -1,4 +1,4 @@ -local i = 1 +local i = 0 while i < 5000000 do i = i + 1 diff --git a/bench/addictive_addition/addictive_addition.py b/bench/addictive_addition/addictive_addition.py index 5572534..87cf375 100644 --- a/bench/addictive_addition/addictive_addition.py +++ b/bench/addictive_addition/addictive_addition.py @@ -1,4 +1,4 @@ -i = 1 +i = 0 while i < 5_000_000: i += 1