Created
October 22, 2020 03:39
-
-
Save pjambet/9a8615ec3e14381b161693dc90d26cb6 to your computer and use it in GitHub Desktop.
BE vs LE for lex ordering see https://redis.io/commands/zrangebylex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):138:0> [256].pack('S') > [15].pack('S') | |
=> false | |
irb(main):139:0> [256].pack('S>') > [15].pack('S>') | |
=> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment