mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Optimize runtime performance, primary using the following techniques:
* Avoid choosing an arena until it's certain that an arena is needed for allocation. * Convert division/multiplication to bitshifting where possible. * Avoid accessing TLS variables in single-threaded code. * Reduce the amount of pointer dereferencing. * Move lock acquisition in critical paths to only protect the the code that requires synchronization, and completely remove locking where possible.
This commit is contained in:
parent
eb27a220f8
commit
cd70100e5d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157310