fasterthanlime / stringsearch Goto Github PK
View Code? Open in Web Editor NEWCollection of techniques for (binary) string searching
Collection of techniques for (binary) string searching
Today I learned about the bsdiff
and bspatch
, by Colin Percival. His description is in his https://www.daemonology.net/papers/bsdiff.pdf.
He has an old page that summarizes how it's been useful for various OS distributions here and here's a man page.
There were some Rust ports some time ago. I picked up bsdiff-rs.
I found the bsdiff
inventor/author had become an important contributor to FreeBSD and wondered how his bsdiff
was used by FreeBSD now. Turns out around 2016, they swapped out an initial call to a hand written qsufsort
with the Google developed divsufsort
claiming it was much faster.
Found your port of the library to rust, dropped it into a local bsdiff-rs
and can confirm it is much much faster. On 4MB rust binaries I tested, bsdiff
times dropped from 1.1s to 0.3s. Same binary source difference algorithm, just a different way to create the suffix array that it uses. Amazing.
Thanks for the hand port and all that fuzz testing!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.