taepper opened a new pull request, #53314:
URL: https://github.com/apache/arrow/pull/53314

   ### Rationale for this change
   
   @pitrou found in 
[investigations](https://github.com/apache/arrow/issues/51834) that repeated 
uses of `ARROW_ASSIGN_OR_RAISE` can lead to very large stack consumptions.
   
   ### What changes are included in this PR?
   
   This PR adds a new definition of the `ARROW_ASSIGN_OR_RAISE` macro, which 
avoids intermediate results using a gcc/clang compiler extension.
   
   ### Are these changes tested?
   
   No new feature, all tests still pass.
   
   ### Are there any user-facing changes?
   
   No.
   
   ### Was AI used for this PR?
   
   In accordance to the [AI generation 
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
 please disclose below whether and how AI was used in this PR.
   
   **PR code and description written by:**
   
   - [X] Human
   - [ ] AI
   
   **Reviewed before submission by:**
   
   - [X] Human
   - [X] AI
   - [ ] Not reviewed
   


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