packages feed

primitive-sort

Sort primitive arrays

view on Hackage

This library provides a stable sorting algorithm for primitive arrays. The algorithm currently uses mergesort on large chunks and switches to insertion sort on small chunks. There are also novel improvements to increase the performance if the input array is already mostly sorted.
versionuploadeduploaderchanges
0.1.2.42024-02-07 17:02 UTCl3c_amartin+13/−5 lines, 3 filesPVP ok
0.1.2.32024-02-06 17:04 UTCandrewthad+13/−6 lines, 3 filesdep ~basePVP ok
0.1.2.22024-02-02 16:15 UTCl3c_amartin1 revisions+95/−76 lines, 5 filesdep −ghc-primdep ~basedep ~contiguous
0.1.2.12024-02-01 17:23 UTCl3c_amartin+757/−645 lines, 6 filesdep −doctestdep ~basedep ~ghc-primsetup-changednew-uploader
0.1.2.02022-12-07 16:46 UTCandrewthad1 revisions+214/−93 lines, 5 filesdep ~contiguousdep ~gaugedep ~primitivePVP: major bump suggested
0.1.1.02021-10-18 16:30 UTCandrewthad+66/−347 lines, 3 filesdep ~contiguousdep ~primitivePVP: major bump suggested
0.1.0.02018-05-31 13:59 UTCandrewthad4 revisions+1364/−0 lines, 8 filesdep +HUnitdep +QuickCheckdep +basesetup-changed

Dependencies of primitive-sort-0.1.2.4

HUnit >=0 1.6.1.0 → 1.6.2.0
2021-01-19 18:27 UTC1.6.2.0+48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested
2020-10-31 12:09 UTC1.6.1.0+35/−21 lines, 4 filesPVP ok
2017-03-20 01:42 UTC1.6.0.0+9/−5 lines, 4 filesdep ~basePVP ok
2016-10-16 03:35 UTC1.5.0.0+47/−27 lines, 5 filesPVP ok
2016-10-07 03:13 UTC1.4.0.0+761/−778 lines, 12 filesdep +call-stackPVP ok

showing 5 of 22 versions

QuickCheck >=0 2.18.0.0 → 2.19.0.0
2026-09-16 11:18 UTC2.19.0.0+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

base >=0.4.16 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers >=0 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

contiguous >=0.6 && <0.7 0.6.4.2 → 0.6.5.0
2025-04-07 14:23 UTC0.6.5.0+260/−92 lines, 5 filesdep ~primitivedep ~primitive-unliftedPVP: major bump suggested
2024-02-06 17:36 UTC0.6.4.2+8/−3 lines, 3 filesdep ~basePVP ok
2024-02-05 21:34 UTC0.6.4.1+3264/−2590 lines, 10 filesdep ~basedep ~primitivesetup-changednew-uploader
2023-06-28 13:56 UTC0.6.4.0+155/−29 lines, 3 filesdep ~primitivedep ~primitive-unlifteddep ~run-st
2022-12-07 17:41 UTC0.6.3.0+17/−2 lines, 2 filesdep ~primitivePVP: major bump suggested

showing 5 of 20 versions

gauge >=0.2.5 0.2.4 → 0.2.5
2019-09-08 00:21 UTC0.2.5+90/−22 lines, 8 filesdep ~basedep ~basementPVP: major bump suggested
2018-10-20 18:35 UTC0.2.4 outside bounds+99/−73 lines, 5 filesPVP ok
2018-07-07 12:53 UTC0.2.3 outside bounds+12/−3 lines, 3 filesPVP: major bump suggested
2018-06-25 08:34 UTC0.2.2 outside bounds+218/−205 lines, 10 filesdep +foundationdep −HUnitdep −tastydep −tasty-hunitdep ~basePVP ok
2018-01-17 00:51 UTC0.2.1 outside bounds+1162/−105 lines, 18 filesdep −math-functionsdep −mwc-randomdep ~basedep ~deepseqPVP: major bump suggested

showing 5 of 10 versions

primitive >=0.6.4 && <0.10 0.9.0.0 → 0.9.1.0
2025-03-31 14:42 UTC0.9.1.0+225/−135 lines, 12 filesdep +containersdep −ghc-primdep ~basePVP: major bump suggested
2023-10-05 15:07 UTC0.9.0.0+995/−657 lines, 17 filesdep ~QuickCheckdep ~basedep ~tastyPVP ok
2023-02-20 16:20 UTC0.8.0.0+328/−248 lines, 9 filesdep +data-array-bytedep ~basedep ~deepseqPVP ok
2022-05-20 18:46 UTC0.7.4.0+244/−146 lines, 10 filesdep +template-haskelldep −faildep −semigroupsdep ~basedep ~transformersPVP ok
2021-10-27 19:26 UTC0.7.3.0+951/−947 lines, 25 filesdep +tasty-benchdep ~basedep ~deepseqdep ~transformerssetup-changedPVP: major bump suggested

showing 5 of 30 versions

random >=0 1.3.0 → 1.3.1
2025-04-04 14:25 UTC1.3.1+15/−6 lines, 3 filesPVP ok
2025-01-06 04:03 UTC1.3.0+2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok
2024-12-14 20:31 UTC1.2.1.3+22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok
2024-02-04 16:26 UTC1.2.1.2+17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested
2022-05-09 02:32 UTC1.2.1.1+8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok

showing 5 of 15 versions

smallcheck >=0 1.2.1.1 → 1.2.2
2026-08-01 12:36 UTC1.2.2+184/−163 lines, 10 filesdep −ghc-primdep −natsdep −semigroupsdep ~basesetup-changedPVP: major bump suggested
2023-06-04 22:59 UTC1.2.1.1+332/−62 lines, 9 filesdep ~ghc-primdep ~logictdep ~mtlPVP: major bump suggested
2021-01-16 16:28 UTC1.2.1+157/−73 lines, 8 filesdep ~basedep ~logictPVP ok
2020-06-14 23:29 UTC1.2.0+314/−10 lines, 3 filesdep +semigroupsdep +transformersdep +voidPVP ok
2020-06-11 22:24 UTC1.1.7+18/−5 lines, 3 filesPVP ok

showing 5 of 25 versions

tasty >=0 1.5.4 → 1.5.5
2026-10-20 23:13 UTC1.5.5+53/−26 lines, 7 filesdep +terminal-sizePVP ok
2026-03-25 20:04 UTC1.5.4+332/−166 lines, 22 filesdep −semigroupsPVP ok
2025-01-05 19:52 UTC1.5.3+36/−11 lines, 3 filesdep ~containersdep ~optparse-applicativePVP: major bump suggested
2024-11-03 00:34 UTC1.5.2+22/−5 lines, 4 filesdep ~basePVP ok
2024-06-22 10:14 UTC1.5.1+131/−63 lines, 10 filesdep ~basePVP: major bump suggested

showing 5 of 76 versions

tasty-hunit >=0 0.10.1 → 0.10.2
2024-06-22 10:14 UTC0.10.2+15/−7 lines, 4 filesPVP ok
2023-09-10 00:12 UTC0.10.1+30/−52 lines, 5 filesdep ~basedep ~call-stackdep ~tastynew-uploaderPVP ok
2020-12-18 09:42 UTC0.10.0.3+55/−10 lines, 4 filesdep ~basePVP ok
2019-05-15 05:50 UTC0.10.0.2+38/−8 lines, 3 filesdep ~tastyPVP: major bump suggested
2017-12-01 19:24 UTC0.10.0.1+51/−29 lines, 4 filesPVP: major bump suggested

showing 5 of 15 versions

tasty-quickcheck >=0 0.11 → 0.11.1
2025-01-05 19:53 UTC0.11.1+66/−33 lines, 4 filesdep +regex-tdfadep −pcre-lightdep ~QuickCheckdep ~basedep ~optparse-applicativePVP: major bump suggested
2024-06-22 10:14 UTC0.11+132/−49 lines, 4 filesdep ~QuickCheckPVP ok
2023-09-10 00:10 UTC0.10.3+52/−14 lines, 3 filesdep ~QuickCheckdep ~optparse-applicativedep ~randomnew-uploaderPVP ok
2021-11-20 19:17 UTC0.10.2+21/−13 lines, 3 filesdep ~basePVP: major bump suggested
2020-12-18 09:42 UTC0.10.1.2+27/−13 lines, 4 filesdep ~basePVP: major bump suggested

showing 5 of 23 versions

tasty-smallcheck >=0 0.8.1 → 0.8.2
2020-12-18 17:40 UTC0.8.2+47/−11 lines, 3 filesdep +optparse-applicativedep −asyncdep ~basePVP ok
2015-11-26 17:48 UTC0.8.1+14/−5 lines, 3 filesPVP: major bump suggested
2014-10-09 09:21 UTC0.8.0.1+23/−4 lines, 3 files
2014-03-02 23:47 UTC0.8+11/−4 lines, 3 filesdep ~basedep ~tasty
2013-08-09 12:10 UTC0.2+3/−1 lines, 2 filesPVP ok

showing 5 of 6 versions

Reverse dependencies

1 packages depend on primitive-sort

primitive-containers 0.5.1 requires primitive-sort >=0.1.1 && <0.2