Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jamespwilliams
on June 1, 2024
|
parent
|
context
|
favorite
| on:
Go: Sentinel errors and errors.Is() slow your code...
https://go-review.googlesource.com/c/go/+/576015
this change to optimise errors.Is in the err == nil case was merged recently. It’s not included in the latest Go release, hence the stats here, but should end up in a release pretty soon I’d imagine.
zachmu
on June 1, 2024
[–]
That's pretty cool, I'll try to remember to post a follow up when this makes it into a release.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: