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:
jasone 2006-03-30 20:25:52 +00:00
parent 3a893e11a7
commit 996bd9246d

File diff suppressed because it is too large Load Diff