Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.68.0
-
None
-
None
Description
The Segment#estimateMemoryUsage currently takes into account the number of record numbers and referenced segment IDs in the segment in order to provide the total size estimate.
This can be in issue when using implementations of RecordNumbers/SegmentReferences for which determining this total count is expensive. To improve this, we should allow RecordNumbers/SegmentReferences to provide themselves an estimate. By default, this estimation would be computed in the same way as we currently do, which makes this change backwards-compatible.
Attachments
Attachments
Issue Links
- links to