server-skynet-source-3rd-je.../include/jemalloc
Kevin Svetlitski 4f50f782fa Use compiler-provided assume builtins when available
There are several benefits to this:
1. It's cleaner and more reliable to use the builtin to
   inform the compiler of assumptions instead of hoping that the
   optimizer understands your intentions.
2. `clang` will warn you if any of your assumptions would produce
   side-effects (which the compiler will discard). [This blog post](https://fastcompression.blogspot.com/2019/01/compiler-checked-contracts.html)
   by Yann Collet highlights that a hazard of using the
   `unreachable()`-based method of signaling assumptions is that it
   can sometimes result in additional instructions being generated (see
   [this Godbolt link](https://godbolt.org/z/lKNMs3) from the blog post
   for an example).
2023-08-08 14:59:36 -07:00
..
internal Use compiler-provided assume builtins when available 2023-08-08 14:59:36 -07:00
jemalloc_defs.h.in Add support for the deprecated attribute 2023-08-04 15:47:05 -07:00
jemalloc_macros.h.in Add support for the deprecated attribute 2023-08-04 15:47:05 -07:00
jemalloc_mangle.sh jemalloc_mangle.sh: set sh in strict mode 2017-12-11 23:35:20 -08:00
jemalloc_protos.h.in Remove errant #includes in public jemalloc.h header 2023-07-25 16:26:50 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Hide smallocx even when enabled from the library API 2018-10-17 07:12:28 -07:00
jemalloc.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00