Skip to content

ADT中Set容器介绍 | Inside Compiler #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fiking opened this issue Mar 31, 2024 · 0 comments
Open

ADT中Set容器介绍 | Inside Compiler #48

fiking opened this issue Mar 31, 2024 · 0 comments

Comments

@fiking
Copy link
Collaborator

fiking commented Mar 31, 2024

https://inside-compiler.github.io/2024/03/16/ADT-Set/

LLVM中SetADT中提供了一系列Set相关的集合,由于很多Set是基于Map,建议读者先阅读Map容器。 DenseSet、SmallDenseSetDenseSet基于DenseMap实现的Set,对于DenseMap来说,Set中元素作为Map的Key,Map的Value是一个固定Empty值。同样地SmallDenseSet是基于SmallDenseMap实现的Set(默认空间更小,只有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant