pixelherodev commented on PR #578: URL: https://github.com/apache/arrow-go/pull/578#issuecomment-3564869570
Tested that the derived pointers are nilled correctly by modifying the MessageReader test, definitely is working. It's also guaranteed to be safe: > (1) Conversion of a *T1 to Pointer to *T2. > > Provided that T2 is no larger than T1 and that the two share an equivalent > memory layout, this conversion allows reinterpreting data of one type as > data of another type. An example is the implementation of math.Float64bits: -- 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]
