4 ms·
Hmm in the 2025 talk ( https://youtu.be/f30PceqQWko?si=qZESxMaSyt7fYMfz https://youtu.be/f30PceqQWko?si=qZESxMaSyt7fYMfz ), Andrew emphasizes that this approach
by bbkane 4mo ago
Hmm in the 2025 talk ( https://youtu.be/f30PceqQWko?si=qZESxMaSyt7fYMfz https://youtu.be/f30PceqQWko?si=qZESxMaSyt7fYMfz ), Andrew emphasizes that this approach is more efficient than before- even showing compiled assembly iirc. I guess that was a one-off?
- chaz72 4mo agoMy guess is that one of these (Andrew) is measuring syscalls and the other is measuring vtable indirections.
- kristoff_it 4mo agoA 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?