8000 ADT顺序容器介绍 | Inside Compiler · Issue #49 · inside-compiler/inside-compiler.github.io · GitHub
[go: up one dir, main page]

Skip to content

ADT顺序容器介绍 | Inside Compiler #49

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顺序容器介绍 | Inside Compiler #49

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-Seq-Contianer/

ADT提供了的顺序和std一样包括连续内存管理的容器以及链表形式的容器。 顺序容器-连续内存连续内存主要包括:SmallVector、Arrayref、TinyPtrVecotr。其中SmallVector和ArrayRef是最常用的数据类型。 SmallVector这是ADT对标std::vector提供的容器,它的接口和std::vector也非常类似,一般来说它的性能优于std::vecto

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
0