tustvold commented on code in PR #3917:
URL: https://github.com/apache/arrow-rs/pull/3917#discussion_r1146318767


##########
arrow-array/src/record_batch.rs:
##########
@@ -603,7 +603,7 @@ mod tests {
         let record_batch =
             RecordBatch::try_new(Arc::new(schema), vec![Arc::new(a), 
Arc::new(b)])
                 .unwrap();
-        assert_eq!(record_batch.get_array_memory_size(), 672);
+        assert_eq!(record_batch.get_array_memory_size(), 628);

Review Comment:
   This is because Vec doesn't round up to a multiple of 64 bytes



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