Can Set be faster than Hashtable?

前端 未结 0 620
名媛妹妹
名媛妹妹 2020-12-22 21:36

Sets are typically implemented as hashtables where keys are set members and values are some constant (True or something). Since hashtable is a generalization of set, it coul

相关标签:
回答
  • 消灭零回复
提交回复
热议问题