Skip to content

speed up sorting/dedup of large non-salted hash lists with an in-place radix sort - #4746

Open
matrix wants to merge 2 commits into
hashcat:masterfrom
matrix:radix_sort_dedup
Open

speed up sorting/dedup of large non-salted hash lists with an in-place radix sort#4746
matrix wants to merge 2 commits into
hashcat:masterfrom
matrix:radix_sort_dedup

Conversation

@matrix

@matrix matrix commented Aug 5, 2026

Copy link
Copy Markdown
Member

For non-salted hash lists above 64M entries, sort/dedup now uses an in-place MSD radix sort, faster and more cache-friendly at scale, and it deduplicates in a single pass. Fallback to hc_qsort_r on allocation failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant