From 432f24319319fe040e142059eb83279c53f90ab8 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 9 Aug 2025 08:35:03 +0200 Subject: refactor 2 --- libs/simclist-1.5/perftest/ins.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libs/simclist-1.5/perftest/ins.c (limited to 'libs/simclist-1.5/perftest/ins.c') diff --git a/libs/simclist-1.5/perftest/ins.c b/libs/simclist-1.5/perftest/ins.c new file mode 100644 index 0000000..e7d1c19 --- /dev/null +++ b/libs/simclist-1.5/perftest/ins.c @@ -0,0 +1,17 @@ + +#include +#include + +#define NELS 10000000 + +int main() { + list_t l; + int i; + + list_init(&l); + for (i = 0; i < NELS; i++) { + list_append(&l, &i); + } + + return 0; +} -- cgit v1.2.3-70-g09d2