core: performance optimzation for commit af3f94dd, add unlikely compiler builtin
authorHenning Westerholt <hw@kamailio.org>
Mon, 12 Mar 2018 20:31:57 +0000 (21:31 +0100)
committerHenning Westerholt <hw@kamailio.org>
Mon, 12 Mar 2018 20:31:57 +0000 (21:31 +0100)
commit430696019c23e7c019cb463ac84f76762ee9c2f1
tree3cecaf6397df4b6a633cc451c07d59e1488cc7dc
parentaf3f94dd22626894548d2ee2066cf11c806410a3
core: performance optimzation for commit af3f94dd, add unlikely compiler builtin

- performance optimization for commit af3f94dd, default deactivated
- this affect a really hot code path in the core receive part
- add unlikely compiler builtin_expect, like in other places of the core
src/core/receive.c