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

perf: reserve vector up front with size estimate when serializing model #85

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

jackgerrits
Copy link
Member

After implementing this change a 190MB model when from taking 63.26s to 9.11s to serialize.

Additionally, VowpalWabbit/vowpal_wabbit#4613 also drastically improves the situation.

#84

@jackgerrits jackgerrits merged commit fc79853 into main Jun 9, 2023
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