Scope Sensitive Programming
summary
A small C++ library implements thread-local linked list scope variables: stack-allocated wrappers that link into a per-type doubly linked list so code can read the nearest/top or bottom value without passing arguments. It’s used for thresholds, scope-based caching (prime cache stored at bottom), nested event histograms, and per-thread decorators; a shield isolates outer scopes and a macro-based manifest attaches scope types to functions. It’s open sourced, thread safe, small pointer overhead (passing explicit args remains faster).
AI-written summary · about
