[llvm] DenseMap: support enum class keys (PR #95972)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 12:21:16 PDT 2024


nikic wrote:

Though I would like to hear where you plan to use this. Usually enums imply that there is a reasonably small, continuously numbered and fixed set of keys, in which case using a vector instead of map is preferable.

https://github.com/llvm/llvm-project/pull/95972


More information about the llvm-commits mailing list