Files
node/lib/internal
Yoo d22d2fa6d4 lib: optimize writable stream buffer clearing
Improved the `clearBuffer` function
by replacing `buffered.splice` with `ArrayPrototypeSlice`.
- Eliminates O(N) shifting overhead.
- Improves CPU utilization and reduces GC overhead.

PR-URL: https://github.com/nodejs/node/pull/59406
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2025-08-26 11:22:41 +02:00
..
2025-08-25 17:02:49 +02:00
2024-11-27 11:03:39 -05:00
2025-08-04 12:25:31 +02:00
2025-07-28 08:46:16 +02:00
2025-08-25 17:02:49 +02:00
…
2024-09-12 11:06:49 +02:00
2024-11-27 11:03:39 -05:00
2025-07-24 20:08:23 +02:00
…
…
2025-04-17 10:51:13 -03:00
…
2025-01-05 12:57:35 -05:00
2025-07-24 20:08:23 +02:00
…
2025-08-25 17:02:56 +02:00

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.