This would improve the speed of libsolv. See https://github.com/openSUSE/libsolv/blob/master/examples/pysolv#L191-L282