Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_iocp_module.h @ 8441:81d491f0dc8c quic
QUIC: unroll and inline ngx_quic_varint_len()/ngx_quic_build_int().
According to profiling, those two are among most frequently called,
so inlining is generally useful, and unrolling should help with it.
Further, this fixes undefined behaviour seen with invalid values.
Inspired by Yu Liu.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sat, 22 May 2021 18:40:45 +0300 |
parents | d620f497c50f |
children |
comparison
equal
deleted
inserted
replaced
8440:557dc6a06ba6 | 8441:81d491f0dc8c |
---|