Files
node/lib/internal/streams
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
..
2024-11-27 11:03:39 -05:00
2024-08-05 11:15:45 -03:00
2024-10-04 10:20:24 +02:00
2024-11-27 11:03:39 -05:00
2024-03-13 19:02:14 +00:00
2024-10-04 10:20:24 +02:00