Can anyone offer any improvement suggestions of better alternatives? I know there are faster sorting algorithms, but I'm interested in the compute framework piece itself. thanks!
John May
unread,
May 8, 2013, 5:43:18 AM5/8/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java...@googlegroups.com
Very interesting. I've had quite good results with fork/join but for simply processing large arrays in chunks. I've had a quick look at the fork/join implementation and it looks like you create a new task for each recursive step but I could be wrong. If so, try adding a threshold to determine whether the size of the partition is worth forking (e.g. 20,000+). WIthout the conditional you will create many short running threads for sorting the small partitions.