Use `WeakMap`/`WeakSet` for caching references that should not prevent garbage collection.
1
Up
0
Down
+1
Net
Saves the agent time by directly specifying the precise WeakMap/WeakSet pattern for memory-safe caching instead of reasoning through alternatives like Map/Set.
Saves the agent time discovering this