]> git.kaiwu.me - nginx.git/commit
optimize some cycles:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 2 Nov 2009 17:12:09 +0000 (17:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 2 Nov 2009 17:12:09 +0000 (17:12 +0000)
commit612ecb7674f631bd6fca1512ad633897df162845
tree8cc4e55331b4b05b1b61bba9b7b88787c094225c
parent7e4f193bb0e1cfa4128052f538dd60519cac02e4
optimize some cycles:

*) delete surplus variable;
*) on i386/amd64 "while (n) / n--" is smaller than "while (n--)",
   because the platforms have no postfix operations
src/core/ngx_string.c
src/http/modules/ngx_http_log_module.c