redis筆記_源碼_內存分配

文件:zmoalloc.h zmoalloc.c性能

1.求兩個整數的餘數spa

eg: 求_n對sizeof(long)的餘數(_n&(sizeof(long)-1)), 性能提高爲50%~100% 左右。blog

相關文章
相關標籤/搜索