mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-03 21:25:23 +01:00
Using reserve() for optimization inserts, marked unused pair items and minor code refactor
This commit is contained in:
parent
9490b5264e
commit
e886f27816
27 changed files with 43 additions and 32 deletions
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
[[nodiscard]] unsigned Count() const noexcept {
|
||||
unsigned count = 0;
|
||||
for (const auto& [index, value] : page_table) {
|
||||
for (const auto& [_, value] : page_table) {
|
||||
count += value;
|
||||
}
|
||||
return count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue