pitrou commented on code in PR #44493:
URL: https://github.com/apache/arrow/pull/44493#discussion_r1828128242
##########
cpp/src/arrow/status.h:
##########
@@ -368,27 +371,34 @@ class ARROW_EXPORT [[nodiscard]] Status : public
util::EqualityComparable<Status
StatusCode code;
std::string msg;
std::shared_ptr<StatusDetail> detail;
+ bool is_constant = false;
Review Comment:
Perhaps we can reduce the struct size by moving `is_constant` together with
`code`.
```suggestion
StatusCode code;
bool is_constant = false;
std::string msg;
std::shared_ptr<StatusDetail> detail;
```
--
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]