7 points by slightknack
There are several sequels to this blog post which you can find in fish’s blog archive, and the algorithms are implemented in fish’s libdivide.