-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
A few things we could do to (potentially) reduce the number of small allocations if this later proves to be a bottleneck:
- Store JoinSubsets contiguously in memory (rather than as a vector<vector>)
- Pre-allocate JoinNodes with some heuristic guess of what number of plans we expect
- Pre-allocate the plans vector as soon as we instantiate a JoinSubset