Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2635 > unrolled thread

Parallel Sort library was ported to Delphi XE versions

Started byRamine <ramine@1.1>
First post2014-10-30 11:37 -0700
Last post2014-10-30 11:52 -0700
Articles 2 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  Parallel Sort library was ported to Delphi XE versions Ramine <ramine@1.1> - 2014-10-30 11:37 -0700
    Re: Parallel Sort library was ported to Delphi XE versions Ramine <ramine@1.1> - 2014-10-30 11:52 -0700

#2635 — Parallel Sort library was ported to Delphi XE versions

FromRamine <ramine@1.1>
Date2014-10-30 11:37 -0700
SubjectParallel Sort library was ported to Delphi XE versions
Message-ID<m2tlud$l96$2@dont-email.me>
Hello,


I have ported my Parallel Sort library to the delphi XE versions on
the Win32 and Win64 platforms...


Since i have only a computer with a Quadcore, i have tried to do
a scalability prediction using the Amdahl equation of my Parallel Sort
library and the numbers are good, and since i have completly 
parallelized the sorting part and the merging part, my Parallel Sort 
library is more scalable than my Parallel Quicksort library since on the 
parallel quicksort you can not completly parallelize the partition() 
procedure and you will still have a serial part in the partition() 
procedure that is big.. that makes my Parallel Sort library more 
scalable on multicores, but you have to know that on Quadcore the 
difference is not by much, but as soon as you use more cores than 4 
cores  my parallel sort library will be more scalable than my Parallel 
Quicksort. So all in all i have brought to you a good an interresting 
parallel library to add to your libraries.


You can download my Parallel Sort library from:

https://sites.google.com/site/aminer68/parallel-sort-library


For the Delphi XE versions you have to download the zipfile
called "parallelsort_xe.zip"

and for the FreePascal and for Delphi 7 to Delphi2007 you have
to download the zipfile called "parallelsort.zip"



Thank you,
Amine Moulay Ramdane.


[toc] | [next] | [standalone]


#2636

FromRamine <ramine@1.1>
Date2014-10-30 11:52 -0700
Message-ID<m2tmq3$ofj$2@dont-email.me>
In reply to#2635
Hello,


The Quicksort implementation inside my Parallel Sort library uses the 
median-of-three, and i have also modified its partition() function so 
that it avoids worst case performance, so it's really fast.



Thank you,
Amine Moulay Ramdane.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web