mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Try smoothies for hunks
This commit is contained in:
parent
3dc7bd74fe
commit
7d37954495
@ -2,7 +2,7 @@ package com.volmit.iris.scaffold.hunk.storage;
|
||||
|
||||
import com.volmit.iris.scaffold.hunk.Hunk;
|
||||
import com.volmit.iris.util.Consumer4;
|
||||
import com.volmit.iris.util.KMap;
|
||||
import io.timeandspace.smoothie.SmoothieMap;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -12,12 +12,12 @@ import java.util.Map;
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class MappedHunk<T> extends StorageHunk<T> implements Hunk<T>
|
||||
{
|
||||
private final KMap<Integer, T> data;
|
||||
private final Map<Integer, T> data;
|
||||
|
||||
public MappedHunk(int w, int h, int d)
|
||||
{
|
||||
super(w, h, d);
|
||||
data = new KMap<>();
|
||||
data = SmoothieMap.<Integer, T>newBuilder().build();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user