diff --git a/GRAMMAR_CACHE_THREADING.md b/GRAMMAR_CACHE_THREADING.md new file mode 100644 index 0000000..228912a --- /dev/null +++ b/GRAMMAR_CACHE_THREADING.md @@ -0,0 +1,148 @@ +# Grammar cache thread-safety & allocator lifetime + +Status: **investigation complete, fix deferred.** This document records what we +found and the direction we chose, so the next person doesn't have to rediscover +it. No behavior has been changed yet — only documentation comments were added to +`treesitter/treesitter.odin`. + +## How we got here + +While adding a feature to minify inline `