felipecrv commented on code in PR #41189:
URL: https://github.com/apache/arrow/pull/41189#discussion_r1566441618
##########
cpp/src/arrow/array/builder_nested.cc:
##########
@@ -213,13 +213,13 @@ Status FixedSizeListBuilder::AppendValues(int64_t length,
const uint8_t* valid_b
Status FixedSizeListBuilder::AppendNull() {
RETURN_NOT_OK(Reserve(1));
UnsafeAppendToBitmap(false);
- return value_builder_->AppendNulls(list_size_);
+ return value_builder_->AppendEmptyValues(list_size_);
Review Comment:
It reduces the number of scattered bit reads and writes when dealing with
fixed-size-lists.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]