diff options
author | Ken Moore <moorekou@gmail.com> | 2016-08-18 11:05:42 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-08-18 11:05:42 -0400 |
commit | f01465bd4e0ae5020738dd444758555c55eece49 (patch) | |
tree | a90affc312d77e40dd68e99c05fe50da724a3b68 /src-qt5/desktop-utils/lumina-screenshot/main.cpp | |
parent | Oops: *Now* lumina-open will handle binary names as inputs just fine (if they... (diff) | |
download | lumina-f01465bd4e0ae5020738dd444758555c55eece49.tar.gz lumina-f01465bd4e0ae5020738dd444758555c55eece49.tar.bz2 lumina-f01465bd4e0ae5020738dd444758555c55eece49.zip |
Revamp how the system applications are parsed/updated.
This now uses a new data class which provides for delta updates to the application list, allowing for later checks/updates to be performed a *lot* faster, in addition to providing information about which *new* application entries were discovered during the check in addition to the raw app list.
As an added bonus, the new class-based nature of the routine will make it possible to embed the detection/update routines directly into the class rather than requiring some external class to monitor the system and request updates.
Example Times:
First run: same as old routine.
Second run with one new app entry: new routine is ~1/4 of the time of the old routine (20ms vs 78ms on my test box)
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/main.cpp')
0 files changed, 0 insertions, 0 deletions