gianm commented on a change in pull request #109: Cache arrayBaseOffset.
URL:
https://github.com/apache/incubator-datasketches-memory/pull/109#discussion_r308843710
##########
File path: src/main/java/org/apache/datasketches/memory/UnsafeUtil.java
##########
@@ -157,6 +157,30 @@ static long getFieldOffset(final Class<?> c, final String
fieldName) {
}
}
+ static long getArrayBaseOffset(final Class<?> c) {
Review comment:
Added a comment.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]