mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 17:28:29 +00:00
![topjohnwu](/assets/img/avatar_default.png)
vector<bool> uses bitsets, so we actually only use 12k memory to store all 3 possible PID info tables. PID checkup will be now become O(1) instead of O(logn). P.S. The reason why we don't use unordered_map is because including it will result in significant binary size increase (might be due to the complex hash table STL implementation? I really don't know).