(*) Fix broken code in jmh

This commit is contained in:
Viktor Lofgren 2024-01-23 17:07:57 +01:00
parent ee7792596d
commit 400f4840ad

View File

@ -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);