diff --git a/.gitignore b/.gitignore index adb36c8..4d8d0fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.exe \ No newline at end of file +*.exe +profile_results.txt \ No newline at end of file diff --git a/colors.nim b/colors.nim index e22b286..681142b 100644 --- a/colors.nim +++ b/colors.nim @@ -60,7 +60,7 @@ proc len*(s: ColorStack): int8 = iterator items*(s: ColorStack): Color = for i in 0 .. s.last: - yield Color(s[i]) + yield Color(s.pieces[i]) iterator asInt*(s: ColorStack): int8 =