Discussion on Optimizing Advent of Code Puzzle Solution in Elixir

100
clicks
Discussion on Optimizing Advent of Code Puzzle Solution in Elixir

Source: reddit.com

Type: Discussion

deanrumsby is a learner of Elixir who revisits Advent of Code puzzles to familiarize themselves with functional programming. They tackled the 2015 Day 6 puzzle, which requires updating a 1000x1000 grid of lights. Currently, their solution uses the Map datatype and takes around 15 seconds to execute, but they are seeking more efficient ways to handle large datasets in Elixir. They provided an example of how instructions reduce over a grid but are looking for optimization advice from the community.

© HashMerge 2024