Skip to content

Limit allocations by reader size #9

Closed
Alex Steere (dasteere) wants to merge 2 commits into
mainfrom
limit_allocations
Closed

Limit allocations by reader size #9
Alex Steere (dasteere) wants to merge 2 commits into
mainfrom
limit_allocations

Conversation

@dasteere
Copy link
Copy Markdown

There is no reason to allocate more space than the number of rows in the segment.

Copy link
Copy Markdown

@ankrgyl Ankur Goyal (ankrgyl) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM this may also be something worth upstreaming as a contribution to tantivy

@ankrgyl
Copy link
Copy Markdown

LGTM this may also be something worth upstreaming as a contribution to tantivy

But make sure to rebase it to 0.22.0-tweaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants