| 446 | } |
| 447 | |
| 448 | long activeDefragQuickListNodes(quicklist *ql) { |
| 449 | quicklistNode *node = ql->head; |
| 450 | long defragged = 0; |
| 451 | while (node) { |
| 452 | defragged += activeDefragQuickListNode(ql, &node); |
| 453 | node = node->next; |
| 454 | } |
| 455 | return defragged; |
| 456 | } |
| 457 | |
| 458 | /* when the value has lots of elements, we want to handle it later and not as |
| 459 | * part of the main dictionary scan. this is needed in order to prevent latency |
no test coverage detected