#include <stdio.h>
#include <stdlib.h>
-#define NB_ELM 20000
+#define NB_ELM 200000
#define SIZEOFKEY 1024
static void print_str(void *str);
printf(" (a point is a test)\n");
for (i=0;i<20;i++) {
- gras_dict_new(&head);
+ head=gras_dict_new();
if (i%10) printf("."); else printf("%d",i/10); fflush(stdout);
nb=0;
for (j=0;j<1000;j++) {
}
- gras_dict_new(&head);
+ head=gras_dict_new();
printf("\n Fill 20 000 elements, with keys being the number of element\n");
printf(" (a point is 1 000 elements)\n");
for (j=0;j<NB_ELM;j++) {