]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: xxhash: use the XXH_INLINE_ALL macro to inline all functions
authorDragan Dosen <ddosen@haproxy.com>
Tue, 22 Dec 2020 13:46:47 +0000 (14:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Dec 2020 05:39:21 +0000 (06:39 +0100)
commit6f7cc11e6dd0f01b437fba893da2edd2362660a2
tree14dbf57468ab5a5a6ce637f8f839ea1fd15990a4
parent967e7e79af0654e094d0bb6f6b8ceb1fa36dffa2
MEDIUM: xxhash: use the XXH_INLINE_ALL macro to inline all functions

This way we make all xxhash functions inline, with implementations being
directly included within xxhash.h.

Makefile is updated as well, since we don't need to compile and link
xxhash.o anymore.

Inlining should improve performance on small data inputs.
Makefile
include/haproxy/defaults.h
include/import/xxhash.h