placeholder

Making a Go program 70% faster with a one character change • Harry Marr

Programmer and engineering manager working at GitHub. Co-founded Dependabot, and helped build Monzo and GoCardless.

Click to view the original at hmarr.com

Hasnain says:

"As that allocation was happening for every single path that was being matched against, removing it made the whole program 1.7x faster in this instance. Not bad for a one character change."

Posted on 2022-11-14T16:12:20+0000