HashSlotMap
A SlotMap built on a linked hash map. It costs more than EmbeddedSlotMap, mostly because each slot sits inside another object, but it copes far better with a lot of hash collisions, so it takes over once an object has many properties.
Functions
Link copied to clipboard
Puts a slot straight in. Both its name and its index hash have to be set already. ScriptableObject normally goes through modify instead.
Link copied to clipboard
open override fun <S : Slot> compute(owner: SlotMapOwner?, mutableMap: CompoundOperationMap, key: Any?, index: Int, compute: SlotMap.SlotComputer<S>): S?
open fun <S : Slot> compute(owner: SlotMapOwner, key: Any?, index: Int, compute: SlotMap.SlotComputer<S>): S?
Link copied to clipboard
Opens a compound operation over this map.