diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-01-28 16:11:13 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-01-28 16:11:13 -0500 |
commit | 403678ce69d3992fbe72bd3cf9030eec67aaaed8 (patch) | |
tree | b4159bcddc6ad0635937973d250b49eb61986201 /bench | |
parent | c5ddce0b48ebc0a668ada204a791119981910b7b (diff) | |
download | dimension-403678ce69d3992fbe72bd3cf9030eec67aaaed8.tar.xz |
Use insertion sort for small lists, new list test.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/libdimension/list.c | 1 |
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"); |