Optimisation in Map perf test.

This commit is contained in:
Peter Lawrey
2014-12-05 23:55:40 +02:00
parent 87a20b4db9
commit 345496c84d
5 changed files with 31 additions and 11 deletions
@@ -1689,9 +1689,8 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
return (int) (sizeInBytes / entrySize) + 1;
}
private <KB, KBI, MKBI extends MetaBytesInterop<KB, ? super KBI>, RV>
RV acquire(
@Nullable ThreadLocalCopies copies, final @Nullable SegmentState segmentState,
<KB, KBI, MKBI extends MetaBytesInterop<KB, ? super KBI>, RV>
RV acquire(@Nullable ThreadLocalCopies copies, final @Nullable SegmentState segmentState,
MKBI metaKeyInterop, KBI keyInterop, KB key, long keySize,
InstanceOrBytesToInstance<KB, K> toKey,
ReadValue<RV> readValue, RV usingValue, InstanceOrBytesToInstance<RV, V> toValue,