scovich opened a new pull request, #8345:
URL: https://github.com/apache/arrow-rs/pull/8345

   * NOTE: Stacked on https://github.com/apache/arrow-rs/pull/8344, ignore the 
first two commits
   
   # Which issue does this PR close?
   
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax.
   
   - Closes #NNN.
   
   # Rationale for this change
   
   Enum dispatch in rust is more efficient than virtual method dispatch, and 
enums require far less boxing which makes them more memory efficient as well. 
`ArrowToVariantRowBuilder` is already an enum, so it makes sense for 
`VariantToArrowRowBuilder` to take the same approach.
   
   # What changes are included in this PR?
   
   Replace the trait with an enum.
   
   # Are these changes tested?
   
   Yes, existing row builder tests continue to pass.
   
   # Are there any user-facing changes?
   
   No.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to