Searched refs:preallocatedMapToIndex (Results 1 – 1 of 1) sorted by relevance
25 val preallocatedMapToIndex by lazy { HashMap<Any, Int>() } regex27 Comparator.comparingInt { item -> preallocatedMapToIndex[item] ?: -1 }131 preallocatedMapToIndex.clear()132 sortedItems.forEachIndexed { i, item -> preallocatedMapToIndex[item] = i }134 preallocatedMapToIndex.clear()