• Joined on 2022-06-09
prenex pushed to master at prenex/myqsort 2025-05-09 07:01:28 +02:00
21c9d52138 smallest tune
38ac7a8a51 schwab: finetuned
0900fece84 schwab: hax in regz - not helping extra much
Compare 3 commits »
prenex pushed to master at prenex/myqsort 2025-05-09 06:35:16 +02:00
c1d152c6f9 schwab: selection sort trying...
prenex pushed to master at prenex/myqsort 2025-05-09 05:52:50 +02:00
266f489002 schwab: minor fine-tune so we more easily win over std::sort
prenex pushed to master at prenex/myqsort 2025-05-09 05:27:46 +02:00
95c759b9e3 swab: fixed == to >= typo - now beats std::sort and is comparison sort fully!
147ca60672 schwab insertion - but buggy from some previous at n=20 rand
Compare 2 commits »
prenex pushed to master at prenex/myqsort 2025-05-09 04:08:45 +02:00
4c67501511 schwab: full branchless parts on partitioning now - speed gain but minimal... need like 5-6 of these
b32c7540a2 schwab: goto-optimized - barely slower on my machine
283783bf9b Revert "schwab: tried to help a bit with ILP - does not seem to help at all"
bf9c22f4ec schwab: tried to help a bit with ILP - does not seem to help at all
Compare 4 commits »
prenex pushed to master at prenex/myqsort 2025-05-09 02:55:29 +02:00
ac01d33519 Revert "schwab: tried to change cache friendlyness for branch prediction - it seems it is very marginally worse and much worse if I move thid after the other branches"
fac01a81e3 schwab: tried to change cache friendlyness for branch prediction - it seems it is very marginally worse and much worse if I move thid after the other branches
Compare 2 commits »
prenex pushed to master at prenex/myqsort 2025-05-09 02:48:06 +02:00
7d1d93a89c schwab: for-loop instead of while - does not seems like speedup
19cbf53597 schwab: neoqs-like performance with no issues of smallrange and const because partitioning might do threeway when sensing possible issue
Compare 2 commits »
prenex pushed to master at prenex/myqsort 2025-05-09 01:13:12 +02:00
c06f02bc94 schwab: fixed various bugs, now passes magyarsorts all tests until 20k elements but very slow on constant data for some reason - needs checking
6fcf79bee3 schwab: some buggy idea that segfaults - might simplify a lot instead
6d8802f479 schwab: fixed endless run, bug in hi not bigger then mid and lo because only indices are checked lol
5775e6c201 schwab_sort but can endless loop
Compare 4 commits »
prenex pushed to master at prenex/myqsort 2025-05-06 03:21:55 +02:00
d80a061240 neoqs - that adds smallrange support for meanqs
bcc4f3bb62 Revert "try simpler branchless at cost of extra swaps - seems slower for me"
d61d1e72d2 try simpler branchless at cost of extra swaps - seems slower for me
Compare 3 commits »
prenex pushed to master at prenex/myqsort 2025-05-06 02:44:35 +02:00
0b864ad2f0 bugfixed branchless code having extra nonSameIndex - but was working when only half of it is branchless
09ed5dd548 branchless partition3_sp2 - only half is branchless but already faster
Compare 2 commits »
prenex pushed to master at prenex/myqsort 2025-05-05 23:09:16 +02:00
5d6ea0e778 added three-way single pass partitioning codes, they are a bit slower than the two-pass 3-way partitioning on my machine, but sp2 gets very close in performance so might be tweaked to get it be better maybe
prenex pushed to master at prenex/c_mem_safety 2025-04-26 01:02:47 +02:00
c874e0fb9e added generics example
prenex pushed to master at prenex/c_mem_safety 2025-04-25 22:22:26 +02:00
2a45772420 added readme
prenex pushed to master at prenex/c_mem_safety 2025-04-25 22:13:39 +02:00
fe07cf2106 licence and stuff plus minor changes
53e4cb652f more fixes and checked clang++ build for generics
9e642f9ed4 fixed valgrind-found bugs in generic test code, also fixed its cpp build
6f106988b4 generic programming example added for RAII in C
1b860723b8 added array/vektor example (missing file)
Compare 10 commits »
prenex created branch master in prenex/c_mem_safety 2025-04-25 22:13:39 +02:00
prenex created repository prenex/c_mem_safety 2025-04-25 22:12:52 +02:00
prenex pushed to master at prenex/myqsort 2025-04-08 01:56:07 +02:00
12d30a588a Revert "optimization that does not work, but is maybe not totally bad"
cebc516125 optimization that does not work, but is maybe not totally bad
bc500c84e8 threeway further optimizations
a465110170 threeway partitioning inplace quicksort
32b5721e37 added chatgpt 4o version when asked to write quicksort - crashed around 100k elements in ascasc or similar patterns in my experience - also builds with a huge warning in case of g++ (no warning with clang++ though)
Compare 10 commits »
prenex created branch master in prenex/myqsort 2025-04-08 01:56:06 +02:00
prenex created repository prenex/myqsort 2025-04-08 01:55:34 +02:00
prenex pushed to master at prenex/slc 2025-01-28 17:55:10 +01:00
dc922c1991 number, char and string "types" and operations