netty5/transport/src/main/java/io/netty/bootstrap
Norman Maurer 83710cb2e1
Replace toArray(new T[size]) with toArray(new T[0]) to eliminate zero-out and allow the VM to optimize. (#8075)
Motivation:

Using toArray(new T[0]) is usually the faster aproach these days. We should use it.

See also https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion.

Modifications:

Replace toArray(new T[size]) with toArray(new T[0]).

Result:

Faster code.
2018-06-29 07:56:04 +02:00
..
AbstractBootstrap.java fix grammar in javadoc 2018-06-20 10:45:49 +02:00
AbstractBootstrapConfig.java [#5174] Expose Bootstrap getter methods and add some additional ones 2016-05-18 13:26:43 +02:00
Bootstrap.java fix the typos 2017-04-20 04:56:09 +02:00
BootstrapConfig.java [#5174] Expose Bootstrap getter methods and add some additional ones 2016-05-18 13:26:43 +02:00
ChannelFactory.java Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00
FailedChannel.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ServerBootstrap.java Replace toArray(new T[size]) with toArray(new T[0]) to eliminate zero-out and allow the VM to optimize. (#8075) 2018-06-29 07:56:04 +02:00
ServerBootstrapConfig.java [#5174] Expose Bootstrap getter methods and add some additional ones 2016-05-18 13:26:43 +02:00