commit | b65726d0823c1e4c64a434635556c1a1fa2acb58 | [log] [tgz] |
---|---|---|
author | William A. Rowe Jr <wrowe@apache.org> | Wed Jun 08 22:13:41 2016 +0000 |
committer | William A. Rowe Jr <wrowe@apache.org> | Wed Jun 08 22:13:41 2016 +0000 |
tree | 422e373273eb8e0017dbde654221c1a8ec11edf5 | |
parent | 4d7b7ec9879e573583ef4ba5b4a655aeb7bee934 [diff] |
Third optimization, use short type, which is the smallest functional int which requires 1. no unsigned -> signed promotion, 2. fetches from a word aligned offset from the lookup table, 3. is easily promoted to int upon the function's return. This introduces a very small 2% speed improvement in several cases. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1747460 13f79535-47bb-0310-9956-ffa450edef68