Files
node/lib/internal
Rich Trott 20347d5154 stream: avoid function call where possible
Instead of assigning a boolean, move the function call that assigns a
value to the boolean to the only place that boolean is checked. This
avoids the function call in cases where it is not needed.

Refs: https://github.com/nodejs/node/pull/41488#pullrequestreview-850626528

PR-URL: https://github.com/nodejs/node/pull/41534
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2022-01-17 05:31:30 +00:00
..
2021-10-09 17:22:56 +00:00
2021-09-18 16:13:56 +02:00
2021-03-23 11:03:18 -05:00
2021-01-27 20:46:54 +02:00
…
2021-08-12 13:51:08 -07:00
2021-12-28 13:16:58 -08:00
2020-12-07 10:08:03 -08:00
2021-10-16 10:03:50 +08:00
2020-12-29 15:49:09 +00:00
…
2021-04-08 10:33:09 +02:00
2021-09-26 11:46:14 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.