diff options
| author | Tyge Løvset <[email protected]> | 2021-11-03 11:30:06 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-11-03 11:30:06 +0100 |
| commit | e259ed7807dd9474cc94ba625db4dcd573431362 (patch) | |
| tree | 0e83bf2d49a1f0ec43f9e9b0b74c69ef4fd97a1b /benchmarks/rust_cmap.c | |
| parent | 73b1ed7c17b94647438c7e73738bf0820e5d57ad (diff) | |
| download | STC-modified-e259ed7807dd9474cc94ba625db4dcd573431362.tar.gz STC-modified-e259ed7807dd9474cc94ba625db4dcd573431362.zip | |
Changed container_X_get() and container_X_at() to return const value* (or const mapped*). Added container_X_getmut() for mutable version. Updated docs.
Diffstat (limited to 'benchmarks/rust_cmap.c')
| -rw-r--r-- | benchmarks/rust_cmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/benchmarks/rust_cmap.c b/benchmarks/rust_cmap.c index 6014b23d..88dfbec1 100644 --- a/benchmarks/rust_cmap.c +++ b/benchmarks/rust_cmap.c @@ -27,7 +27,6 @@ int main() { c_forrange (n) {
uint64_t key = romu_trio(rng) & mask;
cmap_u64_insert(&m, key, 0).ref->second += 1;
-
}
printf("insert : %zums \tsize : %zu\n", (clock() - now)/ms, cmap_u64_size(m));
now = clock();
|
