alamb opened a new issue, #8588:
URL: https://github.com/apache/arrow-rs/issues/8588

   It is probably my OOP / old age, but I would find this API easier to deal 
with if it were wrapped in a type that had a documented API
   
   Something like
   ```rust
   struct EncodingMask(i32);
   
   impl EncodingMask {
     fn new(val: i32) -> Self { 
      ...
     }
     fn as_i32(&self) -> i32 {
       self.0
     }
   } 
   
   // then you can implement From impls to/from i32 as well as a no allocation 
iterator
   ```
   
   I am happy to help hack this out if you like the idea
   
   _Originally posted by @alamb in 
https://github.com/apache/arrow-rs/pull/8587#discussion_r2421690651_
               


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