server-skynet-source-3rd-je.../include
Kevin Svetlitski 6841110bd6 Make edata_cmp_summary_comp 30% faster
`edata_cmp_summary_comp` is one of the very hottest functions, taking up
3% of all time spent inside Jemalloc. I noticed that all existing
callsites rely only on the sign of the value returned by this function,
so I came up with this equivalent branchless implementation which
preserves this property. After empirical measurement, I have found that
this implementation is 30% faster, therefore representing a 1% speed-up
to the allocator as a whole.

At @interwq's suggestion, I've applied the same optimization to
`edata_esnead_comp` in case this function becomes hotter in the future.
2023-05-04 09:59:17 -07:00
..
jemalloc Make edata_cmp_summary_comp 30% faster 2023-05-04 09:59:17 -07:00
msvc_compat Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00