DoltHub Blog company blog

Go: Sentinel errors and errors.Is() slow your code down by 3000%

An exhaustive set of benchmarks on different ways to approach error handling in Golang. We demonstrate that common sentinel error idioms are slow your code down by 5x.
Points
183
HN comments
158
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2024

On Hacker News

SubmittedTitle on HNPointsComments
May 31, 2024Go: Sentinel errors and errors.Is() slow your code down by 3000% by ingve183158

More from DoltHub Blog

All 14 posts →

Related posts from the same era