unify the list swap SBO sizes

Fri, 07 Jul 2023 17:46:00 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 07 Jul 2023 17:46:00 +0200
changeset 735
b686d0c98c62
parent 734
6f757d839534
child 736
70885c3d15b0

unify the list swap SBO sizes

src/array_list.c file | annotate | diff | comparison | revisions
src/linked_list.c file | annotate | diff | comparison | revisions
     1.1 --- a/src/array_list.c	Fri Jul 07 17:31:25 2023 +0200
     1.2 +++ b/src/array_list.c	Fri Jul 07 17:46:00 2023 +0200
     1.3 @@ -103,7 +103,7 @@
     1.4  }
     1.5  
     1.6  #ifndef CX_ARRAY_SWAP_SBO_SIZE
     1.7 -#define CX_ARRAY_SWAP_SBO_SIZE 512
     1.8 +#define CX_ARRAY_SWAP_SBO_SIZE 128
     1.9  #endif
    1.10  
    1.11  void cx_array_swap(
     2.1 --- a/src/linked_list.c	Fri Jul 07 17:31:25 2023 +0200
     2.2 +++ b/src/linked_list.c	Fri Jul 07 17:46:00 2023 +0200
     2.3 @@ -607,7 +607,7 @@
     2.4  }
     2.5  
     2.6  #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE
     2.7 -#define CX_LINKED_LIST_SWAP_SBO_SIZE 16
     2.8 +#define CX_LINKED_LIST_SWAP_SBO_SIZE 128
     2.9  #endif
    2.10  
    2.11  static int cx_ll_swap(

mercurial