Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of xattr hashing
Make check is really slow, and a lot of it is in compute_erofs_shared_xattrs() when doing hash comparisons. We improve performance by using a better estimate of the initial hash-table size, and we compare the xattrn values before the xatt key names (as the kay names are often the same). This drops a mkcomposefs --from-file run from 5 seconds to 1 second. Signed-off-by: Alexander Larsson <[email protected]>
- Loading branch information