a better solution is to speed up the depsolving process somehow. maybe doing it with a plugin which is written in C like the metadata parser would help?