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