commit | 54505f1d50c2d1f4676f5e87090b64a117fd980e | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alk@tut.by> | Mon Aug 03 02:28:03 2015 |
committer | Aliaksey Kandratsenka <alk@tut.by> | Mon Aug 03 02:36:27 2015 |
tree | 135f4ea4b4c31e809bdbaba6221da5cffb29fd88 | |
parent | 73c0c8c61b84e268bafd961bf304b2e4d296142f [diff] |
help clang with inlining important fast-path functions Clang's recent focus on code size doesn't help us in malloc fast-path because somehow clang completely ignores inline directives. In order to help clang generate code that was actually intended by original authors, we're adding always_inline attribute to key fast-path functions. Clang also guessed likely branch "wrong" in couple places. Which is now addressed by UNLIKELY declarations there.