public bool TryGetValue(ulong key, out TV value) { if (partitioned) { int partIdx = (int)(key >> keyBaseShift); return(pmers[partIdx].TryGetValue(key, out value)); } else { return(mers.TryGetValue(key, out value)); } }
public bool TryGetValue(ulong key, out TV value) { if (partitioned) { int partition = (int)(key >> (64 - (keySize * 2))); return(dictionaryPartitions[partition].TryGetValue(key, out value)); } else { return(dictionary.TryGetValue(key, out value)); } }