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

My guess is that one of these (Andrew) is measuring syscalls and the other is measuring vtable indirections.


A vtable indirection is essentially free when you're going to perform a syscall. What matters is that the buffer is above the vtable (which is already the case for the current implementation) so that you don't pay for the indirection when hitting the buffer.


Apples and oranges, yeah. I should have spelled that out more, thanks.


And if you write to a bytes buffer?




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: