Move cache into Buffer owned object, use WeakRefs

This allows O(1) clearing of the cache, a single TTL timer and we
can avoid making BufferLine's Disposable
This commit is contained in:
Daniel Imms
2026-05-02 05:32:43 -07:00
parent 7615cd210a
commit 52d4b2719c
10 changed files with 219 additions and 40 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
"lib": [
"es2015",
"es2016.Array.Include",
"es2019.string"
"es2019.string",
"es2021.weakref"
],
"outDir": "../../out",
"types": [