Initialize the private DFS stack used by the defragmentation iterator. */
| 2308 | |
| 2309 | /* Initialize the private DFS stack used by the defragmentation iterator. */ |
| 2310 | static inline void raxDefragStackInit(raxDefragIterator *it) { |
| 2311 | it->stack = it->static_items; |
| 2312 | it->items = 0; |
| 2313 | it->maxitems = RAX_DEFRAG_STATIC_ITEMS; |
| 2314 | } |
| 2315 | |
| 2316 | /* Push a new node into the defragmentation iterator stack. The parent_child |
| 2317 | * argument is the child index of this node in its parent, or -1 for the |