r/computerscience • u/PHDEinstein007 • 12m ago
A new Lines Sort process called Sets
Sets and the other methods described here are Patent Pending and some have been previously released as MIT Licensed, all rights reserved.
Sets has become an interesting and powerful tool where it sorts easy items from difficult items (best laymans speak I can do). This method of sorting makes almost any software seeming very efficient and quick to run.
Speed advantage over the best competitor, worked out from the measured times:
• Genomics (Harr-Gene read cleanup): about 140–145% faster than cutadapt, the fastest opponent (2.8 s vs 6.9 s on E. coli, 4.1 s vs 9.8 s on human). Duplicate removal is only 4–10% faster than FastDedup.
• AI filter: used as a pre-filter in front of datatrove, the whole job ran about 109% faster (712 s vs 1,485 s). Running by itself on text files, it was about 8,500% faster than datatrove (3 s vs 259 s). It agreed with datatrove on only about 83% of the pages it kept, though, so that figure isn't a like-for-like comparison.
• Network security (S-Rank Network): compared with Snort running on one thread, about 470% faster on Tuesday's traffic (18.3 s vs 104.3 s) and about 310% faster on Wednesday's (25.9 s vs 105.8 s). The Suricata version was 14% faster on Tuesday but 10% slower on Thursday.
• 5G (MHARR Packet vs VPP, real 5G capture): about 39% faster at forwarding and about 91% faster at GTP-U downlink, measured in clock cycles per packet. Against DPDK's l3fwd it was level, about 1% behind.
• Ground sensor (Harr-Scan ground radar): on cavities, about 77% faster than the matched hyperbola filter with the same number of finds (1.54 ms vs 2.73 ms). On pipes and cables, C3 was about 3.5 times faster than Harr-Scan, so Harr-Scan was about 71% slower there, but it found more and had 8 times fewer false flags.
_____________________________________________________________________________________________
Sets is simply a 2 line system, where good data goes to one line and hard data to the second. An alternative, Multi-lines, allows for different types of data to different lines, text to one, graphics to another, and so forth. It can also subdivide deeper if desired, such as English and Spanish text.
Cascades is an escalation process born from Sets, data that does not pass easily gets set to another line where more effort can be given, and if needed it can be escalated deeper. The idea is that a dwindling percentage of the data is at lower levels so that the maximum speed can be given to the easiest data.
This has made some things happen that I just could not expect to have happen because it has been less than a week for most of the software above to be made. Sets was made for Data Compression initially, and it does good there, but it shines in certain applications and still is very effective in others.
I am very sure it can be used on a number of applications to bring better performance in one way or another. If the admin or mod team approves I will also include my Github in the comments for review of methods and code for scientific or peer review.