mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
Its two calls to evbuffer_peek() used 3.5% of CPU use (measured with perf when built with RelWithDebInfo). I added vecs() so that libtransmsision could send noncontiguous buffers via utp_writev(); but in my testing, all the buffers being sent are contiguous and so this is unnecessary work.
8.9 KiB
8.9 KiB