git-pack-redundant: speed and memory usage improvements