2468
2506
static double get_use_cost(uint *buffer, uint nkeys, uint key_size,
2470
2508
inline static int get_cost_calc_buff_size(ulong nkeys, uint key_size,
2474
2512
(1 + max_in_memory_size / ALIGN_SIZE(sizeof(TREE_ELEMENT)+key_size));
2475
2513
return (int) (sizeof(uint)*(1 + nkeys/max_elems_in_tree));