(*) Fix broken code in jmh
This commit is contained in:
parent
ee7792596d
commit
400f4840ad
@ -1,7 +1,5 @@
|
||||
package nu.marginalia.array;
|
||||
|
||||
import com.upserve.uppend.blobs.NativeIO;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.LongBuffer;
|
||||
import java.nio.channels.FileChannel;
|
||||
@ -33,12 +31,6 @@ public class SimulatedNaiveArray implements LongArray {
|
||||
public void close() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void advice(NativeIO.Advice advice) throws IOException {}
|
||||
|
||||
@Override
|
||||
public void advice(NativeIO.Advice advice, long start, long end) throws IOException {}
|
||||
|
||||
@Override
|
||||
public long get(long pos) {
|
||||
return buffers[(int) pos/bufferSize].get((int) pos%bufferSize);
|
||||
|
Loading…
Reference in New Issue
Block a user