src/linked_list.c

changeset 735
b686d0c98c62
parent 708
1caed6c9ba68
child 763
741a2040fa33
equal deleted inserted replaced
734:6f757d839534 735:b686d0c98c62
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