some performance updates. Still 1.5 time slower than createrepo