• antirez's avatar
    dict.c: fix dictGenericDelete() return ASAP condition. · 67058671
    antirez authored
    Recently we moved the "return ASAP" condition for the Delete() function
    from checking .size to checking .used, which is smarter, however while
    testing the first table alone always works to ensure the dict is totally
    emtpy, when we test the .size field, testing .used requires testing both
    T0 and T1, since a rehashing could be in progress.
    67058671
dict.c 39.8 KB