ucx/linked_list.c

branch
newapi
changeset 187
24ce2c326d85
parent 174
0358f1d9c506
child 253
087cc9216f28
equal deleted inserted replaced
186:5db4979bf482 187:24ce2c326d85
605 ll->begin = ll->end = NULL; 605 ll->begin = ll->end = NULL;
606 list->size = 0; 606 list->size = 0;
607 } 607 }
608 608
609 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE 609 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE
610 #define CX_LINKED_LIST_SWAP_SBO_SIZE 16 610 #define CX_LINKED_LIST_SWAP_SBO_SIZE 128
611 #endif 611 #endif
612 612
613 static int cx_ll_swap( 613 static int cx_ll_swap(
614 struct cx_list_s *list, 614 struct cx_list_s *list,
615 size_t i, 615 size_t i,

mercurial