-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
The window function addToSet uses a std::multimap with an element type of SimpleMemoryUsageTokenWith<Value>. This wrapper is useful for tracking memory in a fairly transparent way using RAII.
This design seems suboptimal because it means that every element contains a pointer to a memory tracker, and a 64-bit byte count. This memory overhead does not seem worth the tradeoff.