Open PackmanDude opened 4 months ago
Also, storing each individual index is not efficient. Better would be to implement it with something like a struct holding an index of the flag in a static array and its count to calculate percentages accurately without holding too much in memory.
The current approach is storing copies of physical addresses, which could be considered an array of
uintptr_t
. Previously, an array ofsize_t
was used instead, but additional dereferencing caused an overhead.