netty5/transport
Trustin Lee a1efd1871b Reorder PlatformDependent.isRoot() check
Motivation:

isRoot() is an expensive operation. We should avoid calling it if
possible.

Modifications:

Move the isRoot() checks to the end of the 'if' block, so that isRoot()
is evaluated only when really necessary.

Result:

isRoot() is evaluated only when SO_BROADCAST is set and the bind address
is anylocal address.
2015-02-08 12:00:16 +09:00
..
src Reorder PlatformDependent.isRoot() check 2015-02-08 12:00:16 +09:00
pom.xml Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00