From fac61c9082b2c80c4e0beee96e14984e37b27195 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 15 Dec 2020 14:06:54 -0600 Subject: [PATCH] added comment in day 15 --- day15.onyx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/day15.onyx b/day15.onyx index 923bc05..90b46d4 100644 --- a/day15.onyx +++ b/day15.onyx @@ -14,6 +14,9 @@ main :: proc (args: [] cstr) { file := reader.make(contents); + // The current implementation of Map is rather slow at a large scale. + // Any changes to the implementation of Map should be tested on this + // file to validate if they 1) work and 2) are faster. nums : map.Map(u32, spoken_times); map.init(^nums, 32767); defer map.free(^nums); @@ -44,4 +47,4 @@ main :: proc (args: [] cstr) { } printf("30000000th: %i\n", last_num); -} \ No newline at end of file +} -- 2.25.1