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
--- a/src/array_list.c	Fri Jul 07 17:31:25 2023 +0200
+++ b/src/array_list.c	Fri Jul 07 17:46:00 2023 +0200
@@ -103,7 +103,7 @@
 }
 
 #ifndef CX_ARRAY_SWAP_SBO_SIZE
-#define CX_ARRAY_SWAP_SBO_SIZE 512
+#define CX_ARRAY_SWAP_SBO_SIZE 128
 #endif
 
 void cx_array_swap(
--- a/src/linked_list.c	Fri Jul 07 17:31:25 2023 +0200
+++ b/src/linked_list.c	Fri Jul 07 17:46:00 2023 +0200
@@ -607,7 +607,7 @@
 }
 
 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE
-#define CX_LINKED_LIST_SWAP_SBO_SIZE 16
+#define CX_LINKED_LIST_SWAP_SBO_SIZE 128
 #endif
 
 static int cx_ll_swap(

mercurial