Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The nil check is not more expensive.


Did you read the article? It clearly show that it is. I just don't understand why.


Calling errors.Is is slower than not calling errors.Is.




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: