server-skynet-source-3rd-je.../include
Kevin Svetlitski 36ca0c1b7d Stop concealing pointer provenance in phn_link_get
At least for LLVM, [casting from an integer to a pointer hides provenance information](https://clang.llvm.org/extra/clang-tidy/checks/performance/no-int-to-ptr.html)
and inhibits optimizations. Here's a [Godbolt link](https://godbolt.org/z/5bYPcKoWT)
showing how this change removes a couple unnecessary branches in
`phn_merge_siblings`, which is a very hot function. Canary profiles show
only minor improvements (since most of the cost of this function is in
cache misses), but there's no reason we shouldn't take it.
2023-07-13 15:12:31 -07:00
..
jemalloc Stop concealing pointer provenance in phn_link_get 2023-07-13 15:12:31 -07:00
msvc_compat Remove trailing whitespace 2023-06-23 11:58:18 -07:00