Commit Graph

36 Commits (4c878ff1de9207eb255f2786f2586987eef4e349)

Author SHA1 Message Date
Samy Al Bahra 8d6de575cc ck_ht: Style changes.
12 years ago
Samy Al Bahra 4954816d61 ck_ht: Predict empty slot to be likely on grow.
12 years ago
Samy Al Bahra d204976c7a ck_ht: Backport probe sequence from ck_hs.
12 years ago
Samy Al Bahra 84943b5787 ck_ht: Remove remnants of MPMC implementation from write-side probe.
12 years ago
Samy Al Bahra 855a1472a8 ck_ht: Add ck_ht_reset_size_spmc operation.
12 years ago
Samy Al Bahra bdadd7bf6b whitespace: More style fixes.
12 years ago
Samy Al Bahra 2116dfee3c ck_ht: Increment n_entries on empty and tombstone insertions.
12 years ago
Samy Al Bahra 9a0d97c6ef ck_ht: Set previous entry to empty on tombstone insert.
12 years ago
Samy Al Bahra 452cab1ef6 ck_ht: Return snapshot of object IFF we are not at end of probe sequence.
12 years ago
Samy Al Bahra 5a4dc765d8 ck_ht: Remember to set cursor to NULL on probe end.
12 years ago
Samy Al Bahra 1631f2ff84 ck_ht: Enable aggressive re-use of tombstones.
12 years ago
Samy Al Bahra 33a9222923 legal: Update Copyright statements.
12 years ago
Samy Al Bahra a7d79970e7 ck_{ht,internal}: Explicitly use unsigned for bitwise operations.
13 years ago
Samy Al Bahra adaf20b31c ck_ht: Add ck_ht_stat function.
13 years ago
Samy Al Bahra 90713046e9 ck_ht: Use CK_MD_VMA_BITS.
13 years ago
Samy Al Bahra 9e29788dde ck_ht: Move ifdef block.
13 years ago
Samy Al Bahra e5cd9fa322 ck_ht: key_length/key are only needed if PP is enabled.
13 years ago
Samy Al Bahra 1a8b3db453 ck_ht: Various performance improvements.
13 years ago
Samy Al Bahra 59158c824b ck_ht: Do not re-hash on growth for non-PP case.
13 years ago
Samy Al Bahra 72a8adb599 ck_ht: Add support for per-hash-table allocator.
13 years ago
Samy Al Bahra a832237b0a ck_ht: We do not need to reprobe for direct tables on a per-slot basis.
13 years ago
Samy Al Bahra 500d36cdb8 ck_ht: Fix race condition associated with no pointer packing variant.
13 years ago
Samy Al Bahra 18d74f55a1 ck_ht: Add support for user-specified hash functions.
13 years ago
Samy Al Bahra ef3e6f394b ck_ht: Remove trailing whitespace.
13 years ago
Samy Al Bahra 8bed9627a6 ck_ht: Enable pointer packing only if explicitly enabled.
13 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra 519a14b7f3 ck_ht: Add CK_F_HT feature flag.
13 years ago
Samy Al Bahra 3ad9f7e63d ck_ht: Add support for other 64-bit platforms.
13 years ago
Samy Al Bahra fb5d9331e2 ck_ht: Add ck_ht_entry_empty function.
13 years ago
Samy Al Bahra 5f653956d4 ck_ht: Update comment in ck_ht_get_spmc.
13 years ago
William Irwin 99f2454646 Manually convert tail recursion to iteration in ck_ht_grow_spmc().
13 years ago
William Irwin 90f06f358b Manually convert tail recursion to iteration in ck_ht_get_spmc().
13 years ago
Samy Al Bahra fdea287873 ck_ht: Update deletions before committing tombstone and after committing replacement value.
13 years ago
Samy Al Bahra 7a4118e964 Revert "ck_ht: Fix bug in tombstone replacement on set."
13 years ago
Samy Al Bahra ef82078e59 ck_ht: Fix bug in tombstone replacement on set.
13 years ago
Samy Al Bahra 9f786337f7 ck_ht: Lock-free SPMC hash table, for x86_64.
13 years ago