I tried replace Vec with SmallVec in a really hot loop in difftastic, and it's a huge speedup. It almost *halved* the runtime of one of my test files!
I've done a lot of performance tuning of difftastic, so it's surprising to see such a big win.
https://crates.io/crates/smallvec
miniblog.
Related Posts
Difftastic 0.67 is released!
* Added support for protobuf, improved bash and YAML.
* Updated 16 parsers to the latest upstream version (thanks Antonin Delpeuch!)
* A ton of display polish for word highlighting, alignment, and binary files.
"After I linked difftastic, one of my friends immediately used difftastic to find a stealthy bug, five stars!"
Ooh, difftastic is now listed on the official git website!



