ucx/linked_list.c

changeset 776
96555c0ed875
parent 750
4d7a2238c5ac
equal deleted inserted replaced
775:e5909dff0dbf 776:96555c0ed875
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