summaryrefslogtreecommitdiffstats
path: root/bench/libdimension/list.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-01-28 16:11:13 -0500
committerTavian Barnes <tavianator@gmail.com>2011-01-28 16:11:13 -0500
commit403678ce69d3992fbe72bd3cf9030eec67aaaed8 (patch)
treeb4159bcddc6ad0635937973d250b49eb61986201 /bench/libdimension/list.c
parentc5ddce0b48ebc0a668ada204a791119981910b7b (diff)
downloaddimension-403678ce69d3992fbe72bd3cf9030eec67aaaed8.tar.xz
Use insertion sort for small lists, new list test.
Diffstat (limited to 'bench/libdimension/list.c')
-rw-r--r--bench/libdimension/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/libdimension/list.c b/bench/libdimension/list.c
index b177d47..be75aa1 100644
--- a/bench/libdimension/list.c
+++ b/bench/libdimension/list.c
@@ -61,6 +61,7 @@ main(void)
for (size_t i = 0; i < count; ++i) {
sandglass_bench_noprecache(&sandglass, dmnsn_list_push(list, &object));
+ ++object;
printf(" %ld", sandglass.grains);
}
printf("\n");