Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-1071] Refactor vector resizing in hash aggregate #1082

Merged
merged 10 commits into from
Sep 9, 2022

Conversation

PHILO-HE
Copy link
Collaborator

No description provided.

@github-actions
Copy link

#1071

@PHILO-HE PHILO-HE changed the title [NSE-1071] Resize vector more progressive to reduce reallocation times [NSE-1071] Resize vector more progressively to reduce reallocation times Aug 25, 2022
@PHILO-HE PHILO-HE force-pushed the agg-vector-optimize branch 4 times, most recently from 2f997b5 to ef6da75 Compare September 8, 2022 12:29
@PHILO-HE PHILO-HE changed the title [NSE-1071] Resize vector more progressively to reduce reallocation times [NSE-1071] Refactor vector resizing in hash aggregate Sep 9, 2022
@PHILO-HE
Copy link
Collaborator Author

PHILO-HE commented Sep 9, 2022

It looks progressively resizing can result in capacity frequently changed (std::vector's impl.) and unnecessarily reallocated.

@PHILO-HE PHILO-HE merged commit e58a4b3 into oap-project:main Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant