Hypatia/app
Tavi 52b79bf526
LinkScannerService: don't repeatedly scan
- have the system only send 10 events a second, instead of 1000
- don't scan the same package+class name more than once a second
- put each event view scanner on its own thread keyed by package+class
- don't scan if there is already an existing thread for the package+class

this can still cause high cpu usage on views with lots of text
especially if the user continually interacts with it
but is overall much better

to recap:
- a given package+class can only be scanned at most once a second
- a given package+class can only have one scanner at a time
- text to scan will not be scanned if already scanned
- domains to scan will not be scanned if already scanned

Signed-off-by: Tavi <tavi@divested.dev>
2024-05-25 18:49:56 -04:00
..
src/main LinkScannerService: don't repeatedly scan 2024-05-25 18:49:56 -04:00
.gitignore Initial commit 2017-12-13 22:44:56 -05:00
build.gradle LinkScannerService: don't repeatedly scan 2024-05-25 18:49:56 -04:00
proguard-rules.pro Disable obfuscation 2022-04-28 04:07:16 -04:00