A quick look at the Redis source codeheychinaski.com149 points·by HeyChinaski·13 tahun yang lalu·32 comments
HeyChinaski·13 tahun yang lalu·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 tahun yang lalu·discussI was quite surprised to see the tcl tests. I'm reserving judgement until I've tried writing one though.
HeyChinaski·13 tahun yang lalu·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 tahun yang lalu·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.