diff options
author | sundb <sundbcn@gmail.com> | 2020-12-01 05:03:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 23:03:53 +0200 |
commit | 04056b767fbcdc1df6fc536467234c04d88bee9d (patch) | |
tree | e5162c29c64f86bdc08c9df69b1143237eef45f3 /src/pubsub.c | |
parent | d322e7baba3065eb3ff03ca90e4a9a4484aaa3a7 (diff) | |
download | redis-04056b767fbcdc1df6fc536467234c04d88bee9d.tar.gz |
BITOP speedup when or/and output is 0/255, stop processing further keys (#8110)
when performing the and operation, if the output is 0, we can jump out of the loop.
when performing an or operation, if the output is 0xff, we can jump out of the loop.
Diffstat (limited to 'src/pubsub.c')
0 files changed, 0 insertions, 0 deletions