2478
2478
static double get_use_cost(uint *buffer, uint nkeys, uint key_size,
2480
2480
inline static int get_cost_calc_buff_size(ulong nkeys, uint key_size,
2484
2484
(1 + max_in_memory_size / ALIGN_SIZE(sizeof(TREE_ELEMENT)+key_size));
2485
2485
return (int) (sizeof(uint)*(1 + nkeys/max_elems_in_tree));