]> git.kaiwu.me - njs.git/commit
Returning an intptr_t result by rbtree comparison function
authorIgor Sysoev <igor@sysoev.ru>
Thu, 15 Sep 2016 15:00:55 +0000 (18:00 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 15 Sep 2016 15:00:55 +0000 (18:00 +0300)
commitdfe15745f25a67b08081dcfc81e6283727dfa359
tree851d15126cce3fdf5a6f283b1aeef7aaf7763f9f
parent9d7132dfeea6d7f95cfc982e69615c4f2c0bfbba
Returning an intptr_t result by rbtree comparison function
decreases overhead required to implement correct addresses
comparison without result truncation.
nxt/nxt_mem_cache_pool.c
nxt/nxt_rbtree.c
nxt/nxt_rbtree.h
nxt/test/rbtree_unit_test.c