Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/19222#discussion_r138737410
--- Diff: common/unsafe/src/main/java/org/apache/spark/unsafe/Platform.java
---
@@ -75,67 +76,131 @@ public static boolean unaligned() {
return unaligned;
}
+ public static int getInt(MemoryBlock object, long offset) {
--- End diff --
Shouldn't this be a part of the memory block api? Instead of platform? Same
for all other methods here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]