-
Notifications
You must be signed in to change notification settings - Fork 623
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
optimize objects initialization #16810
Conversation
ivanmorozov333
commented
Apr 5, 2025
- Performance improvement
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
🟢 |
TStatusValidator::Validate(builder->AppendNull()); | ||
return NArrow::FinishBuilder(std::move(builder)); | ||
std::shared_ptr<arrow::Array> result; | ||
NArrow::SwitchType(typePtr->id(), [&](const auto& /*type*/) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А зачем здесь вызывается идентичный код, как и раньше, но через SwitchType? Это влияет на перформанс?
Я вижу только что некоторые типы в typePtr->id()
приведут к падению верифайки.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
код не идентичен. verify на типах, которые не используются