summaryrefslogtreecommitdiffstats
path: root/index.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-11-27 14:38:36 +0100
committerpgen <p.gen.progs@gmail.com>2020-11-27 14:38:36 +0100
commit7126ac1e61c04f400b8178b2090a0a2de2c96637 (patch)
treef905a9bfa48143784855b1474be81af90284fb5a /index.c
parent975d1b899c0df617375fa4cfb41fbe299378a686 (diff)
Improve comments
Diffstat (limited to 'index.c')
-rw-r--r--index.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/index.c b/index.c
index 817671f..c1e3f1e 100644
--- a/index.c
+++ b/index.c
@@ -3,9 +3,13 @@
/* please read http://www.gnu.org/copyleft/gpl.html. */
/* ########################################################### */
-/* Ternary Search Tree and sorted array creation functions */
-/* Inspired by: https://www.cs.princeton.edu/~rs/strings/tstdemo.c. */
-/* **************************************************************** */
+/* Ternary Search Tree and sorted array creation functions. */
+/* Inspired by a code described in "Ternary Search Trees" by Jon */
+/* Bentley and Robert Sedgewick in the April, 1998, Dr. Dobb's Journal. */
+/* Links: */
+/* https://www.drdobbs.com/database/ternary-search-trees/184410528?pgno=1 */
+/* https://www.cs.princeton.edu/~rs/strings/tstdemo.c. */
+/* ************************************************************************ */
#include <stdlib.h>
#include <stdint.h>