On 10/23/2010 2:34 PM, [email protected] wrote:
> Author: minfrin
> Date: Sat Oct 23 19:34:16 2010
> New Revision: 1026668
> 
> URL: http://svn.apache.org/viewvc?rev=1026668&view=rev
> Log:
> Optimise more of the flags within proxy structures.

> @@ -325,7 +325,7 @@ struct proxy_worker {
>      apr_port_t      port;
>      char            keepalive;
>      char            disablereuse;
> -    int             is_address_reusable;
> +    int             is_address_reusable:1;
>      proxy_conn_pool     *cp;        /* Connection pool to use */
>      proxy_worker_stat   *s;         /* Shared data */
>      void            *opaque;    /* per scheme worker data */

No; this is a dis-optimization.  You have added int-bitmath cpu cycles
to a simple int test, without gaining any storage.  Huh?

Reply via email to