Multiple ChoiceHard 30s
Weak References for Caching
Choose the best answer for: weakref caching
Options
- 1A weakref cache stores objects permanently and never frees them
- 2WeakValueDictionary caches objects without preventing GC
- 3weakref dictionaries are thread-safe for concurrent mutation
- 4weakref is a mechanism used mainly for caching file handles
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.