apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [PATCH] speed up apr_pollset_remove
Date Thu, 11 Jan 2007 20:01:52 GMT
Greg Ames wrote:
> the basic idea is to exploit the fact that the internal pfd_elem_t and 
> apr_pollfd_t occupy the same chunk of memory.  by twiddling the 
> internal structure, the pointer to one is the pointer to both and no 
> search is needed.  

I'd suggest adding this comment to the source code; might save someone a 
bit of time in the future...


View raw message