4 ms·
I love Elixir very much, but most unixy languages have access to `writev`. Yes that is not default for most IO but programmers typically can choose. I have don
by gnufied 10y ago
I love Elixir very much, but most unixy languages have access to `writev`. Yes that is not default for most IO but programmers typically can choose.
I have done some benchmarks of using `writev` vs concatenating smaller strings using memcpy before sending to the network stream (to avoid kernel context switches) and difference is pretty small.