Skip to content

Commit

Permalink
2023-12 parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
jurisk committed Dec 12, 2023
1 parent 9ce4404 commit 8cd4119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Advent12 extends IOApp.Simple {

private val calculateArrangementsMemoized
: ((List[List[NonOperational]], List[Int])) => Long =
Memoize.memoize(calculateArrangements)
Memoize.memoizeSynchronized(calculateArrangements)

private def calculateArrangements(
input: (List[List[NonOperational]], List[Int])
Expand Down

0 comments on commit 8cd4119

Please sign in to comment.