cyb70289 opened a new pull request #6986:
URL: https://github.com/apache/arrow/pull/6986


   Replacing bit offset with bit mask improves about 15% performance
   with gcc-7.5. Arm64 servers have similar performance uplift.
   clang-9 doesn't benefit from this change.
   
   Below are arrow-bit-util-benchmark(BitmapReader/8192) results.
   Comparing performance of "current code" -> "after this patch".
   
   | cpu           | gcc-7.5    | clang-9    |
   | ---           | -------    | -------    |
   | Intel E5-2650 | 118 -> 146 | 117 -> 118 |
   | Intel i7-4790 | 154 -> 191 | 155 -> 154 |
   | AMD EPYC-7251 | 119 -> 133 | 122 -> 123 |


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to