A quick look at the Redis source codeheychinaski.com149 points·by HeyChinaski·il y a 13 ans·32 comments
HeyChinaski·il y a 13 ans·discussIn defence of the technique, the command table is quite succinct and arguably more readable at a glance than if there were a bunch of constants |ed together. I have no idea whether this was the original motivation though.
HeyChinaski·il y a 13 ans·discussI was quite surprised to see the tcl tests. I'm reserving judgement until I've tried writing one though.
HeyChinaski·il y a 13 ans·discussAh yes, I remember the interval sets article. The first post is a lot more in depth than mine. Both great links, thanks.
HeyChinaski·il y a 13 ans·discussYeah, it's a pretty shallow introduction. I'd like to write more articles on the Redis code. The sorted set skiplist stuff is really interesting.