Re: [PATCH] bool-ify CachePeer

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 24 Jan 2013 15:05:54 +1300

On 24/01/2013 7:20 a.m., Kinkie wrote:
> Hi all,
> the attached patch turns the unsigned int:1 flags in CachePeer to bools.
>
> --
> /kinkie

Please retain the :1 bitmasking. My microbench is showing a consistent
~50ms speed gain on bitmasks over full bool, particularly when there are
multiple bools in the structure. We also get some useful object size gains.

Amos
Received on Thu Jan 24 2013 - 02:06:02 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 24 2013 - 12:00:08 MST