forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: If there are no readable bytes, it's unnecessary to go th…
…rough javaChannel().write(). Modification: If the readableBytes() is zero, then just return. Result: The logic can be easy to understand and a little faster than before.
- Loading branch information
1 parent
83ce8a9
commit 6496d2d
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters