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

ColumnStats: uses Vec for histograms #158

Merged
merged 1 commit into from
Nov 14, 2022
Merged

ColumnStats: uses Vec for histograms #158

merged 1 commit into from
Nov 14, 2022

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Oct 27, 2022

Reduces the size of the ColumnStats type (14440 bytes before 176 bytes after) in order to avoid possible stack overflow

reduces the size of the ColumnStats type (14440 bytes before 176 bytes after) in order to avoid possible stack overflow
@arkpar
Copy link
Member

arkpar commented Nov 10, 2022

Would be good to place this struct directly in the mmaped index memory eventually. C++ has "placement new", but I don't know a good way to do that in rust.

@Tpt Tpt merged commit b3b6d4e into paritytech:master Nov 14, 2022
@Tpt Tpt deleted the stats branch November 14, 2022 16:16
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

3 participants