summaryrefslogtreecommitdiff
path: root/docs/application/name.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-26 11:46:36 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-26 11:46:36 -0400
commit6f507405ac3b0a128c63134997849203e3493a91 (patch)
tree2804d44834ee4f9bb452f5458a871eb04ebb1910 /docs/application/name.md
parent88646efb1c2615e6d8ff0a2eae047a5ed2a31dd4 (diff)
remove global name tree
Diffstat (limited to 'docs/application/name.md')
-rw-r--r--docs/application/name.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/application/name.md b/docs/application/name.md
deleted file mode 100644
index d605b81..0000000
--- a/docs/application/name.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Name
-
----
-
-Each word representing a var, symbol or type gets an `NAME_IDENTIFIER` -> `kpl_name*` associated with it
-
-## Object Definitions
-
-```c
-#define KPL_LETTER_COUNT 26
-
-#define KPL_NAME_COUNT 43
-
-#define KPL_NAME_SIZE 44
-
-typedef struct {
- kpl_ptr underscore, lowercase[KPL_LETTER_COUNT], uppercase[KPL_LETTER_COUNT];
- char name[KPL_NAME_SIZE];
-} kpl_name_node;
-
-typedef strcut {
- kpl_name_node array[UINT16_MAX];
-} kpl_name_array;
-
-typedef strcut {
- uint16_t slab_index, array_index;
- kpl_mutex mutex;
- kpl_ptr root;
- kpl_name_array *slab[UINT16_MAX];
-} kpl_name;
-```
-
-## Usage
-
-The only operation into the trie is a findsert with a pointer to a string and its length, returning a pointer to the found or inserted node