| 423 | } |
| 424 | |
| 425 | long activeDefragQuickListNodes(quicklist *ql) { |
| 426 | quicklistNode *node = ql->head; |
| 427 | long defragged = 0; |
| 428 | while (node) { |
| 429 | defragged += activeDefragQuickListNode(ql, &node); |
| 430 | node = node->next; |
| 431 | } |
| 432 | return defragged; |
| 433 | } |
| 434 | |
| 435 | /* when the value has lots of elements, we want to handle it later and not as |
| 436 | * part of the main dictionary scan. this is needed in order to prevent latency |
no test coverage detected