mirror of https://github.com/zlatinb/muwire
clear out vals storage after retrieving value
parent
3d30f49776
commit
84387bef8e
|
@ -103,7 +103,9 @@ public abstract class SkipSpan {
|
||||||
int loc = binarySearch(key);
|
int loc = binarySearch(key);
|
||||||
if(loc < 0) { return null; }
|
if(loc < 0) { return null; }
|
||||||
loadVals();
|
loadVals();
|
||||||
return vals[loc];
|
Object rv = vals[loc];
|
||||||
|
vals = null;
|
||||||
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void pushTogether(int hole) {
|
private void pushTogether(int hole) {
|
||||||
|
|
Loading…
Reference in New Issue