Closed alexkuz closed 6 months ago
Nice - I've been wanting to look into the slow startup for a while. I know that sort for top-rated apps was heavy, maybe not worth what we get out of it.
Yeah we could probably do with an installer method for fetching installed refs just to avoid accessing _flatpak and _apt directly, with a pkg_type argument.
Calling
pkginfo_is_installed
on every package, especially in sorter function, turned out to be pretty expensive. The package sorting is optimized by getting installation info in batch (note that "internal"installer._apt
andinstaller._flatpak
modules are used - should it be a patch formintcommon
?)Before:
After: