Maintenance

This commit is contained in:
Patrick Pelissier committed 2023-03-03 22:50:14 +01:00
1 parent 942cf32519
commit 2f76652f2b
18 files changed
+209 -115

No files matched your search

+7 -3
View File
@@ -139,8 +139,9 @@
(__VA_ARGS__ )))
/********************************** INTERNAL ************************************/
/*****************************************************************************/
/******************************** INTERNAL ***********************************/
/*****************************************************************************/
/* Deferred evaluation for the oplist definition,
so that all arguments are evaluated before further expansion */
@@ -252,6 +253,7 @@
)
/******************************** INTERNAL ***********************************/
/* Internal contract of a B+TREE of size 'N' for a node 'node' or root 'root' */
#ifdef NDEBUG
@@ -297,7 +299,7 @@
Worst case is when all nodes are only half full.
Worst case is with the mininum size of a node (2)
Maximum number of elements: SIZE_MAX = 2 ^ (CHAR_BIT*sizeof (size_t)) - 1
Height of such a tree if inferior to:
Height of such a tree if inferior to:
Ceil(Log2(2 ^ (CHAR_BIT*sizeof (size_t)))) + 1
"+ 1" due to final line composed of nodes.
*/
@@ -1485,6 +1487,8 @@
, /* no in_serial */ ) \
/******************************** INTERNAL ***********************************/
#if M_USE_SMALL_NAME
#define BPTREE_DEF2 M_BPTREE_DEF2
#define BPTREE_DEF2_AS M_BPTREE_DEF2_AS