summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_conn_write.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-05-29 10:17:36 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-05-29 10:17:36 +0300
commitf5c3b1c637b4c7c98a9efbc1b99f825dbbe37a51 (patch)
tree784b97fe3d9cb59d15b87995464920052454f2cf /src/nxt_event_conn_write.c
parent5cca4b3ab78ee964081c3eba6eb715fdf3ed4dbd (diff)
downloadunit-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_event_conn_write.c')
0 files changed, 0 insertions, 0 deletions