diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-05-29 10:17:36 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-05-29 10:17:36 +0300 |
commit | f5c3b1c637b4c7c98a9efbc1b99f825dbbe37a51 (patch) | |
tree | 784b97fe3d9cb59d15b87995464920052454f2cf /src/nxt_controller.c | |
parent | 5cca4b3ab78ee964081c3eba6eb715fdf3ed4dbd (diff) | |
download | unit-f5c3b1c637b4c7c98a9efbc1b99f825dbbe37a51.tar.gz unit-f5c3b1c637b4c7c98a9efbc1b99f825dbbe37a51.tar.bz2 |
A small rbtree delete fixup optimization.
Setting node color to black is not required here because
it is already black. Besides in the original algorithm
the node pointer is discarded and the node is set to tree
root just to quit the loop.
Thanks to 洪志道 (Hong Zhi Dao).
Diffstat (limited to 'src/nxt_controller.c')
0 files changed, 0 insertions, 0 deletions