-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Return an error on overflow in do_append_val_inner
#16201
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
Return an error on overflow in do_append_val_inner
#16201
Conversation
4561781
to
a4bd49e
Compare
Thank you @liamzwbao -- this looks good to me. I'll start some benchmarks on this PR and as long as that looks good this PR looks nice to me Thanks again |
🤖 |
🤖: Benchmark completed Details
|
🤖 |
🤖: Benchmark completed Details
|
🚀 |
Which issue does this PR close?
ByteGroupValueBuilder::do_append_val_inner
#15969.Rationale for this change
Return proper error message instead of panic
What changes are included in this PR?
Change the trait and implemented methods to return error on overflow, plus a bit of refactoring
Are these changes tested?
Modified related tests for the change
Are there any user-facing changes?