4 ms·
100% agree. A very good implementation of your ideas can be found in the Redis codebase. Most important files have a long doc comment in the beginning. See htt
by hashhar 6y ago
100% agree. A very good implementation of your ideas can be found in the Redis codebase. Most important files have a long doc comment in the beginning.
See https://github.com/redis/redis/blob/unstable/src/ziplist.c https://github.com/redis/redis/blob/unstable/src/ziplist.c for an example.
- baby 6y agoyour example is a comment of the code/implementation, related to the actual file, not to the architecture