It's slow because it loads the entire depcache, and checks all dependencies. This can be avoided by refactoring the code, but it seems unnecessary. I'd rather add useful features like telling you which packages become autoremovable garbage after marking something, rather than refactoring the code to not require a depcache.
It's slow because it loads the entire depcache, and checks all dependencies. This can be avoided by refactoring the code, but it seems unnecessary. I'd rather add useful features like telling you which packages become autoremovable garbage after marking something, rather than refactoring the code to not require a depcache.