As the title suggested, using a Dict as a key will introduce computational overheads when performing hashing, and memory overheads when storing as a key.
This enhancement might not offer a performance bump but it will solve the issue which Tuple{Any, Any, ...} in Julia never hash to the same value even with the same information.
As the title suggested, using a
Dict
as a key will introduce computational overheads when performing hashing, and memory overheads when storing as a key.