squid-3 optimisation: fd_table[fd].wstate path

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 15 Sep 2006 15:04:43 +0800

Here's a straight forward port of my squid-2.6 optimisation to save on
allocating/deallocating CommWriteStateData:

http://www.creative.net.au/diffs/20060915-squid3-commwrite.diff

I'd like to commit this to Squid-3. Its not going to be -that- noticable,
but it (a) saves on one memory alloc/free per old-style comm_old_write(),
(b) it could be considered one of the "Squid-2.6" features just brought
forward.

I'll commit it later on during the weekend if noone has any issues.

Adrian
Received on Fri Sep 15 2006 - 01:03:19 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT