What is Nostr?
Zachary Cutlip /
npub1dcv…h668
2023-07-07 20:17:25

Zachary Cutlip on Nostr: I've shared this before but it's been a while and probably was on twitter, so it's ...

I've shared this before but it's been a while and probably was on twitter, so it's worth a re-share

A lot of people don't know that `diff` (and `git diff`) have a several algorithms to choose from

They have various tradeoffs, mostly around performance vs readability & semantic accuracy vs overall diff size

For manual/visual diffing, I generally prefer 'histogram’, as it tends to be a closer representation of what *actually changed*

Here's a nice writeup

https://luppeng.wordpress.com/2020/10/10/when-to-use-each-of-the-git-diff-algorithms/

(1/n)
Author Public Key
npub1dcvfqsl7204h5vw3zkuusmzlme087pnwz7f7nxa7faukhw78njeqjnh668