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

   > I mean, is it safe to minus two pointers from each other and cast the 
result from 64-bit to 32-bit? I know that the maximum range for a string array 
is 2 GB. I do not assume any special case. I just ask to sure that casting from 
64-bit to 32-bit is safe.
   
   Well, of course it is, since we know the result will fit in 32 bits (31, 
actually).
   


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