[Zlib-devel] [PATCH 06/13] Tune longest_match implementation

Mike Frysinger vapier at gentoo.org
Thu Nov 28 01:55:05 EST 2013


On Monday 25 November 2013 17:21:42 Jim Kukunas wrote:
> --- /dev/null
> +++ b/match.c
>
> +#define likely(x)      __builtin_expect(!!(x), 1)
> +#define unlikely(x)    __builtin_expect(!!(x), 0)

these are gcc-specific macros, and they really should be in a common header 
rather than inlined in a single C file.

> +
> +

no trailing new lines in files please
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20131128/75ce9f52/attachment-0001.sig>


More information about the Zlib-devel mailing list