From: Brendan Hansen Date: Tue, 15 Dec 2020 20:06:54 +0000 (-0600) Subject: added comment in day 15 X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=fac61c9082b2c80c4e0beee96e14984e37b27195;p=onyx-aoc-2020.git added comment in day 15 --- 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 +}