Various speed-up to purge group/partrepair/blacklist.