klib icon indicating copy to clipboard operation
klib copied to clipboard

kb_itr_end() ?

Open stranger48 opened this issue 8 years ago • 1 comments

Hello,

it's not an issue. Just a kbtree question.

There's kb_itr_first() which works perfectly. Is there a way to implement function returning end() iterator of btree?

Thanks

stranger48 avatar May 12 '17 11:05 stranger48

@stranger48 hello, I know you are watching code about kbtree.h, so could you decribe what is "b->t = ((size - 4 - sizeof(void*)) / (sizeof(void*) + sizeof(key_t)) + 1) >> 1; " ? please. it is too hard to me and I couldn't understand

huangjuyuan avatar Aug 20 '17 10:08 huangjuyuan