Commit 86071d30 by Celine Mercier

Minor improvement in AVL initial size calculation

parent 21d1b2ed
......@@ -408,7 +408,13 @@ size_t get_avl_header_size()
size_t get_initial_avl_size()
{
return getpagesize() * 1;
size_t s;
size_t m;
m = 1;
s = getpagesize() * m;
return s;
}
......@@ -430,7 +436,13 @@ size_t get_avl_data_header_size()
size_t get_initial_avl_data_size()
{
return getpagesize() * 1;
size_t s;
size_t m;
m = 1;
s = getpagesize() * m;
return s;
}
......@@ -1446,7 +1458,7 @@ index_t obi_avl_add(OBIDMS_avl_p avl, byte_t* value)
index_t node_idx;
byte_t* to_compare;
int comp;
uint8_t n = 0;
int n = 0;
int depth = 0;
// Check if first node
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment