[Libevent-users] [PATCH] epoll.c: epoll_dispatch() clarity/simplification/branch reduction cleanups

Nick Mathewson nickm at freehaven.net
Fri Nov 9 18:20:03 EST 2007


On Fri, Nov 09, 2007 at 02:27:07AM -0800, Christopher Layne wrote:
> Regress checks out OK with both -O0 and -Os. Both size are with -O0.
> 
> $ size .libs/libevent-1.4.so.2
>    text    data     bss     dec     hex filename
>   93735    1088    7084  101907   18e13 .libs/libevent-1.4.so.2
> 
> $ size .libs/libevent-1.4.so.2
>    text    data     bss     dec     hex filename
>   93663    1088    7084  101835   18dcb .libs/libevent-1.4.so.2
> 
> Index: libevent/epoll.c
> ===================================================================
> --- libevent/epoll.c	(revision 504)
> +++ libevent/epoll.c	(working copy)
> @@ -209,36 +209,23 @@
>  

The strategy in this patch looks like a clear win.  Will apply once
back to home computer.  Thanks!

yrs,
-- 
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20071109/5768becc/attachment.bin


More information about the Libevent-users mailing list