Skip to content
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

Replace std::list with std::vector in MemoryRegionExtractor #137

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

rageagainsthepc
Copy link
Member

https://dzone.com/articles/c-benchmark-%E2%80%93-stdvector-vs

TLDR: std::vector is almost always better than std::list, except for a few special cases such as always inserting elements at the front or handling large elements.

Copy link

sonarcloud bot commented Dec 5, 2023

[VMICore] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@rageagainsthepc rageagainsthepc merged commit d74fe08 into main Dec 5, 2023
5 checks passed
@rageagainsthepc rageagainsthepc deleted the memory-region-extractor-vector branch December 5, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants