[PATCH] Event pipe: delete useless code.

Maxim Dounin mdounin at mdounin.ru
Fri Oct 28 12:49:41 UTC 2016


Hello!

On Fri, Oct 28, 2016 at 04:41:49PM +0800, 胡聪 (hucc) wrote:

> It is useless code.  There is no need to judge whether the first buf
> is partially filled, just add the free buf after the head.

Using the same buffer if it is possible to do so can be beneficial 
from performance point of view, as it will allow better memory 
caching.

(Please avoid using HTML in posts here.  Thank you.)

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list