rewrite pkgcache with sync.Pool