You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|__insert_or_assign__| Insert or assign for the specified keys. If the target bucket is full, overwrite the key with minimum score in it. | Well-tested |
60
+
|__insert_and_evict__| Insert new keys. If the target bucket is full, the keys with minimum score will be evicted for placement the new key. | Industrial verified |
61
+
|__find_or_insert__| Search for the specified keys. If missing, insert it. | Well-tested |
62
+
|__assign__| Update for each key and ignore the missed one. | Well-tested |
63
+
|__accum_or_assign__| Search and update for each key. If found, add value as a delta to the old value. If missing, update it directly. | Well-tested |
64
+
|__find_or_insert\*__| Search for the specified keys and return the pointers of values. If missing, insert it. | Well-tested |
65
+
|__find__| Search for the specified keys. | Industrial verified |
66
+
|__find\*__| Search and return the pointers of values, thread-unsafe but with high performance. | Well-tested |
67
+
|__export_batch__| Exports a certain number of the key-value-score tuples. | Industrial verified |
68
+
|__export_batch_if__| Exports a certain number of the key-value-score tuples which match specific conditions. | Industrial verified |
69
+
|__warmup__| Move the hot key-values from HMEM to HBM | June 15, 2023 |
70
+
46
71
## Usage restrictions
47
72
48
-
- The `key_type` and `meta_type` must be `uint64_t`.
73
+
- The `key_type` and `score_type` must be `uint64_t`.
49
74
- The keys of `0xFFFFFFFFFFFFFFFC`, `0xFFFFFFFFFFFFFFFD`, `0xFFFFFFFFFFFFFFFE`, and `0xFFFFFFFFFFFFFFFF` are reserved for internal using.
50
75
51
76
## Contributors
@@ -97,46 +122,46 @@ Your environment must meet the following requirements:
97
122
* Key Type = uint64_t
98
123
* Value Type = float32 * {dim}
99
124
* Key-Values per OP = 1048576
100
-
*Hit rate = 0.60
125
+
*`λ`: load factor
101
126
*`find*` means the `find` API that directly returns the addresses of values.
127
+
*`find_or_insert*` means the `find_or_insert` API that directly returns the addresses of values.
0 commit comments