Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternatives to TPIE : Radix Sort and Radix Heap #678

Open
5 tasks
SSoelvsten opened this issue Jun 24, 2024 · 0 comments
Open
5 tasks

Alternatives to TPIE : Radix Sort and Radix Heap #678

SSoelvsten opened this issue Jun 24, 2024 · 0 comments
Labels
✨ optimisation It's all about speed / space 🎓 student programmer Work, work... 🎓 student project Work, work... but academic!

Comments

@SSoelvsten
Copy link
Owner

SSoelvsten commented Jun 24, 2024

Similar to #199 , we may want to investigate whether a radix sort on the keys can out-compete

Radix Sorting

2-ary and 3-ary keys (i.e. the product construction algorithms) may need some extra thinking to both be primarily sorted on the first to-be seen value and also group all requests together.

Radix Heap

For Dijkstra's algorithm, people have proposed a Radix Heap. This may also be useful here too; especially if it also is tuned for the cache and the RAM at the same time (see also #677). Notice, that the cross-level priority queue indeed is monotone. Yet, the per-level priority queue is not.

The radix-based prefix-trie for Burstsort may also be repurposed for a priority queue.

Additional Context

The Radix Sort was suggested by Riko Jacob. I added the Radix Heap, as it seems related.

@SSoelvsten SSoelvsten added ✨ optimisation It's all about speed / space 🎓 student project Work, work... but academic! labels Jun 24, 2024
@SSoelvsten SSoelvsten changed the title Altenatives to TPIE : Radix Sort Alternatives to TPIE : Radix Sort Jun 24, 2024
@SSoelvsten SSoelvsten added the 🎓 student programmer Work, work... label Jun 24, 2024
@SSoelvsten SSoelvsten changed the title Alternatives to TPIE : Radix Sort Alternatives to TPIE : Radix Sort and Radix Heap Jun 24, 2024
@SSoelvsten SSoelvsten added this to the v3.0 : Proprietary Usage milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ optimisation It's all about speed / space 🎓 student programmer Work, work... 🎓 student project Work, work... but academic!
Projects
None yet
Development

No branches or pull requests

1 participant