pitrou commented on issue #46860:
URL: https://github.com/apache/arrow/issues/46860#issuecomment-3018064432

   We have this in `util/float16.h`, so I think the `reinterpret_cast` approach 
should work (and will definitely be faster):
   ```c++
   static_assert(std::is_trivial_v<Float16>);
   static_assert(sizeof(Float16) == sizeof(uint16_t));
   ```
   
   That said, I think we can start with single-value Append if that's easier.
   
   Also cc @bkietz for opinions.


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