Hacker News new | ask | show | jobs
by kristoff_it 17 days ago
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.
2 comments

Apples and oranges, yeah. I should have spelled that out more, thanks.
And if you write to a bytes buffer?