- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there plans for a stable_sort option in the toolkit or can anyone suggest a fast parallel stable sort algorithm that could be implemented with the toolkit?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At the moment, implementation of a stable sorting algorithm is not in the near-term plans.
If you are up to implement one for your needs, Iwould suggest you to start with the Wikipedia page for sorting algorithms. If memory footprint is not a concern, you might consider merge sort; its divide-and-conquer nature fits TBB parallel model well.
Other good pages about sorting algorithms I found are:
http://www.tools-of-computing.com/tc/CS/Sorts/SortAlgorithms.htm
http://www.iti.fh-flensburg.de/lang/algorithmen/sortieren/algoen.htm

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page