CheckedMemorySegment checkedSegment = new CheckedMemorySegment(segmentArray);
long elapsedChecked = timePutLongsCheckedLittleEndian(checkedSegment, numValues, rounds);
checkedSegment = null;
Arrays.fill(segmentArray, (byte) 0);
DirectMemorySegment directSegment = new DirectMemorySegment(segmentArray);
long elapsedDirect = timePutLongsDirectLittleEndian(directSegment, numValues, rounds);
directSegment = null;
Arrays.fill(segmentArray, (byte) 0);
UnsafeMemorySegment unsafeSegment = new UnsafeMemorySegment(segmentArray);