Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

quadsort vs qsort

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.13 sec, absolute running time: 3.84 sec, cpu time: 6.63 sec, memory peak: 3 Mb, absolute service time: 4,98 sec  
fork mode |  history  | discussion
         quadsort: sorted 100000 elements in 0.007602 seconds. (random order)
            qsort: sorted 100000 elements in 0.011276 seconds. (random order)

         quadsort: sorted 100000 elements in 0.000128 seconds. (forward order)
            qsort: sorted 100000 elements in 0.002852 seconds. (forward order)

         quadsort: sorted 100000 elements in 0.001253 seconds. (reverse order)
            qsort: sorted 100000 elements in 0.003701 seconds. (reverse order)

         quadsort: sorted 100000 elements in 0.001685 seconds. (random tail)
            qsort: sorted 100000 elements in 0.004737 seconds. (random tail)