You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/18 04:43:22 UTC

[GitHub] [incubator-doris] ZhangYu0123 edited a comment on pull request #4366: Optimise coding bit operation in BE

ZhangYu0123 edited a comment on pull request #4366:
URL: https://github.com/apache/incubator-doris/pull/4366#issuecomment-675244849


   > Not intended to interfere, just curious about how many improvements can be achieved from this PR, are there any benchmarks?
   
   In my develop computure, when execute 1 billion times encode_varint64.  `v | B`  version averagely uses 95095ms  in 5 times.
   `(v & (B - 1))`  version averagely uses 96103ms  in 5 times.  It can improve aboat  0.5% ~ 1%.  Encode_varint64 use  high frequency in many case like bitmap_value,  page_pointer encode and so on.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org