A quick look at the Redis source codeheychinaski.com149 points·by HeyChinaski·13 jaar geleden·32 comments
HeyChinaski·13 jaar geleden·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·13 jaar geleden·discussI was quite surprised to see the tcl tests. I'm reserving judgement until I've tried writing one though.
HeyChinaski·13 jaar geleden·discussAh yes, I remember the interval sets article. The first post is a lot more in depth than mine. Both great links, thanks.
HeyChinaski·13 jaar geleden·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.