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

> Doing that is an instant performance hit. Not to mention annoying to do.

The cost of virtual dispatch on IO path is almost always negligible. It is literally one conditional vs syscall. I doubt it you can even measure the difference.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: