2132
2132
static double get_use_cost(uint32_t *buffer, uint32_t nkeys, uint32_t key_size,
2134
2134
inline static int get_cost_calc_buff_size(ulong nkeys, uint32_t key_size,
2138
2138
(1 + max_in_memory_size / ALIGN_SIZE(sizeof(TREE_ELEMENT)+key_size));
2139
2139
return (int) (sizeof(uint)*(1 + nkeys/max_elems_in_tree));