logoalt Hacker News

Stealing from Biologists to Compile Haskell Faster

21 pointsby mooredslast Saturday at 5:50 PM2 commentsview on HN

Comments

internet_pointsyesterday at 12:22 PM

> By applying the longest-chain bound and the extreme-cut shortcut, the compile-time cliff in GHC’s optimal path can be effectively eliminated— and the dense worst case that survives is, satisfyingly, deeply mirrors nature’s own computational machinery.

So this can actually be implemented in GHC? I've only read through this once so far and not understood more than ¼, but the section right before the conclusion made it seem like the best you can do is O(n^2.82) along with a huge constant.

show 1 reply