GDATASoftwareAG / smartvmi

Virtual Machine Introspection (VMI) for memory forensics and machine-learning.
http://www.smartvmi.org
MIT License
25 stars 4 forks source link

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

Closed rageagainsthepc closed 10 months ago

rageagainsthepc commented 10 months ago

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.

sonarcloud[bot] commented 10 months ago

[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