add inline

This commit is contained in:
Pascal Seitz
2026-04-21 07:06:42 +02:00
parent cb8a2df8b0
commit 56cd88928d

View File

@@ -912,6 +912,7 @@ where
TermMap: TermAggregationMap,
C: SubAggCache,
{
#[inline]
fn get_memory_consumption(&self, parent_bucket_id: BucketId) -> usize {
self.parent_buckets[parent_bucket_id as usize].get_memory_consumption()
}