Use `ConditionalWeakTable` for Cache? #14
Open
opened 6 years ago by SimonG96
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Think about the usage of a
ConditionalWeakTableinstead of aList<>for_cache:432f619771/GBase/DataHandling/Cache/XmlDataHandlerCache.cs (L25)Using a
ConditionalWeakTablewould probably allow the GarbageCollector to clean up instances only left in the_cache.Is this a use case for a database though?