[Xcb] [PATCH] auth: precompute authnamelens

Julien Danjou julien at danjou.info
Wed Apr 8 01:32:32 PDT 2009


At 1239178643 time_t, Barton C Massey wrote:
> The compiler may be able to precompute these anyway.  The
> risk with your patch is that if someone bumps the keyboard
> on one of the names, they're out of sync.  If you really
> want this, define macros so that the names only have to be
> entered once, I think.

I though about this also, but was not sure it was worth it.
I'll add defines from these 2 strings then.

Thanks for the review, Bart.

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Don't give up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20090408/a93f2c30/attachment.pgp 


More information about the Xcb mailing list