HuaHuaY commented on code in PR #55901:
URL: https://github.com/apache/arrow/pull/55901#discussion_r4781561086


##########
cpp/src/parquet/decoder.cc:
##########
@@ -102,8 +103,9 @@ struct ArrowBinaryHelper<ByteArrayType, 
::arrow::BinaryType> {
 
   // If a new chunk is created and estimated_remaining_data_length is provided,
   // it will also reserve the estimated data length for this chunk.
-  Status AppendValue(const uint8_t* data, int32_t length,
-                     std::optional<int64_t> estimated_remaining_data_length = 
{}) {
+  ARROW_FORCE_INLINE Status

Review Comment:
   Although I did not modify `PlainDecoder`, I discovered that my changes cause 
the inlining of the `AppendValue` call within `PlainDecoder` to be lost. This 
is a performance optimization.



-- 
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]

Reply via email to