Files
node/lib/internal
HEESEUNG 546dab29c1 lib: optimize copyError with ObjectAssign in primordials
optimized the copyError function by using ObjectAssign from primordials.
this change replaces the for-loop with ObjectAssign, which improves
memory usage and performance.

this change updates the copyError function in internal/assert.js to
use ObjectAssign for copying properties.

PR-URL: https://github.com/nodejs/node/pull/53999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
2024-08-05 11:15:44 -03:00
..
2024-08-05 11:15:41 -03:00
2024-07-16 12:01:10 +02:00
2024-04-29 22:46:31 +02:00
2024-07-16 12:01:15 +02:00
…
2024-06-07 10:37:15 -03:00
2022-09-07 09:33:10 +00:00
2024-06-20 14:40:37 +02:00
2024-07-16 12:06:56 +02:00
2024-02-19 01:19:44 +00:00
2024-07-16 12:01:15 +02: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.