• A
    dict.c: added optional callback to dictEmpty(). · 2eb781b3
    antirez 提交于
    Redis hash table implementation has many non-blocking features like
    incremental rehashing, however while deleting a large hash table there
    was no way to have a callback called to do some incremental work.
    
    This commit adds this support, as an optiona callback argument to
    dictEmpty() that is currently called at a fixed interval (one time every
    65k deletions).
    2eb781b3
dict.h 6.5 KB