Package org.apache.sysds.runtime.util
Class LongLongDoubleHashMap
java.lang.Object
org.apache.sysds.runtime.util.LongLongDoubleHashMap
This native long long - double hashmap is specifically designed for
ctable operations which only require addvalue - extract semantics.
In contrast to a default hashmap the native representation allows us
to be more memory-efficient which is important for large maps in order
to keep data in the caches and prevent high-latency random memory access.
-
Constructor Details
-
LongLongDoubleHashMap
public LongLongDoubleHashMap() -
LongLongDoubleHashMap
-
-
Method Details
-
size
public int size() -
getNonZeros
public int getNonZeros() -
addValue
public void addValue(long key1, long key2, double value) -
getIterator
-