Removed stash_i + added dyn.array getters.
Removed the use of the last stash item index and the stash_i member of ck_hash_table. Added da_get_items() and da_get_count() and used instead of directly accessing da_array's members. Code wrapped to 80 chars. Removed some unused commands and comments.
Showing
- src/hash/cuckoo-hash-table.c 72 additions, 74 deletionssrc/hash/cuckoo-hash-table.c
- src/hash/cuckoo-hash-table.h 0 additions, 1 deletionsrc/hash/cuckoo-hash-table.h
- src/other/dynamic-array.c 15 additions, 1 deletionsrc/other/dynamic-array.c
- src/other/dynamic-array.h 11 additions, 1 deletionsrc/other/dynamic-array.h
- src/tests/cuckoo-test.c 1 addition, 1 deletionsrc/tests/cuckoo-test.c
Please register or sign in to comment