about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-01-26 17:19:58 +0530
committerAndinus <andinus@nand.sh>2021-01-26 17:19:58 +0530
commit74193844c707ce11bb7621a020189fbe43078fe4 (patch)
treedf0994216e07a490b5b0593b5d5a49e74ffecb3e
parenta818d6a1c132c943966d5ee60547cc1630f13a0d (diff)
downloadoctans-74193844c707ce11bb7621a020189fbe43078fe4.tar.gz
Document the origin of neighbors subroutine
-rw-r--r--README3
-rw-r--r--README.org3
2 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index acfb13a..d2d6452 100644
--- a/README
+++ b/README
@@ -119,6 +119,9 @@ Implementation
   If the dictionary wasn't sorted then this probably would've been
   slower than previous implementation.
 
+  The `neighbors' subroutine (`lib/Octans/Neighbors.rakumod') was taken
+  from my AoC (Advent of Code) 2020's day-11 solution.
+
 
 Options
 ───────
diff --git a/README.org b/README.org
index 6f046f0..0f8bda0 100644
--- a/README.org
+++ b/README.org
@@ -69,6 +69,9 @@ dictionary. This is faster for these reasons:
 If the dictionary wasn't sorted then this probably would've been slower
 than previous implementation.
 
+The =neighbors= subroutine (=lib/Octans/Neighbors.rakumod=) was taken from
+my AoC (Advent of Code) 2020's day-11 solution.
+
 ** Options
 *** dict
 Octans's default dictionary file is =/usr/share/dict/words=, use =--dict=