mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
f0533fca702599643b69064a9aa91192651bc007
The previous implementation is great if multiple different requesters call su rapidly in a very short period of time, however in the real world this is nearly impossible to happen. This comes with quite a big overhead, since it requires two lists and also an everlasting background thread to constantly maintain the lists. The new implementation will spawn a collector thread for each cache miss, and the thread will terminate itself once the data is invalidated.
Description
Magisk v29.0
Latest
Languages
Kotlin
30.8%
Rust
29.8%
C++
23.7%
Java
8.5%
Shell
4.5%
Other
2.6%