3 ms·
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
by kristoff_it 4mo 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.
- chaz72 4mo agoApples and oranges, yeah. I should have spelled that out more, thanks.
- rastignack 4mo agoAnd if you write to a bytes buffer?