From e259ed7807dd9474cc94ba625db4dcd573431362 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 3 Nov 2021 11:30:06 +0100 Subject: Changed container_X_get() and container_X_at() to return const value* (or const mapped*). Added container_X_getmut() for mutable version. Updated docs. --- benchmarks/rust_cmap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'benchmarks/rust_cmap.c') 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(); -- cgit v1.2.3