From 529747fd7ee390ecd36401ba6612a886b2258b80 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Sat, 21 Dec 2024 06:31:46 +0100 Subject: [PATCH] resolve conflict with caches in day19 --- src/2024/day19.lisp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/2024/day19.lisp b/src/2024/day19.lisp index f592f94..ba863b8 100644 --- a/src/2024/day19.lisp +++ b/src/2024/day19.lisp @@ -44,6 +44,7 @@ bbrgwb")) (defvar *pattern-cache* (make-hash-table :test #'equal)) (defvar *possible-cache* (make-hash-table :test #'equal)) + (defun reset-patterns () (setf *pattern-cache* (make-hash-table :test #'equal)) (setf *possible-cache* (make-hash-table :test #'equal)))