summaryrefslogtreecommitdiff
path: root/src/btree_naive.c
AgeCommit message (Collapse)Author
2022-01-02Add iterator reset function0scar
This avoids that one has to malloc a new iterator struct
2021-12-31Simplify btree_naive_iter0scar
2021-12-31Improve btree iteration0scar
2021-11-30Fix warnings0scar
2021-11-30Update API0scar
2021-11-30Remove unused variable0scar
2021-11-30Add btree_iter function0scar
2021-11-30Add btree_(first|last)0scar
Returns first and last element
2021-11-16Fix warnings0scar
2021-11-16Remove immediate indexing into child0scar
This caused problems if `y` was already a leaf.
2021-11-16Fix child_merge and delete OOB index0scar
Child merge didn't copy children properly, since it incremented number of children in `y` as it copied children from `z`. Also, deletion could index into a free'd node after merging.
2021-11-16Fix shift_right and indexing OOB when deleting0scar
* shift_right didn't move the last element * ii wasn't set properly
2021-11-16Fix deleting0scar
2021-10-25Add basic deletion0scar
2021-10-10Remove unused `node_split` function0scar
2021-10-10Fix long lines0scar
2021-10-08Fix child shuffling0scar
2021-10-05Fix insertion0scar
2021-10-05Add btree-printing function0scar
2021-09-24Move node functionality macros up0scar
Also fix freeing non-allocated items
2021-09-21Add node_split_child and other insert misc. funcs0scar
2021-09-21Fix return type for insert0scar
2021-09-19Add search and other stuff0scar
2021-09-16Add template for btrees0scar