Class LongLongDoubleHashMap

java.lang.Object
org.apache.sysds.runtime.util.LongLongDoubleHashMap

public class LongLongDoubleHashMap extends Object
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

  • Method Details

    • size

      public int size()
    • getNonZeros

      public int getNonZeros()
    • addValue

      public void addValue(long key1, long key2, double value)
    • getIterator