Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SegmentsSearcher::retrieve return a hashmap #4539

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

coszio
Copy link
Contributor

@coszio coszio commented Jun 24, 2024

Slight improvement. I have modified the return type of SegmentsSearcher::retrieve function to return the produced hashmap directly, to let the callers decide how to process it.

Sometimes we were re-collecting it into a hashmap right away, which didn't make much sense

@coszio coszio requested review from timvisee and agourlay June 24, 2024 14:36
@coszio coszio merged commit fb0297b into dev Jun 25, 2024
17 checks passed
@coszio coszio deleted the segments-retrieve-returns-hashmap branch June 25, 2024 14:37
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.

None yet

2 participants