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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 31, 2024 | Go: Sentinel errors and errors.Is() slow your code down by 3000% by ingve | 183 | 158 |