node-red/packages/node_modules/@node-red/nodes/core
Ben Hardill 22a3f47060
Speed up split node
fixes #5251

The code changed from 4.0.x to 4.1.x

This change to to prevent making changes to the orginial input `msg`
object incase any values were stored in context (pass by refernce).

The change meant that for every output message the whole original
input `msg` was being cloned, which could be huge, causing a big
performance regresion.

This fix ensures the clone of the orginial `msg` is only done once
and the much smaller output message is then cloned again to update
`msg.parts` object for each output. This results in lots of small
clones rather than lots of very large clones.
2025-08-20 18:40:19 +01:00
..
common Merge branch 'master' into dev 2025-07-21 16:29:52 +01:00
function Handle deprecated calls to child_process with args 2025-07-04 14:59:58 +01:00
network Improve raw body parser to handle skipped parsing and ended streams 2025-07-26 02:44:31 +05:30
parsers Merge branch 'master' into dev 2025-03-17 16:07:46 +00:00
sequence Speed up split node 2025-08-20 18:40:19 +01:00
storage PERF : make single buffer / string file reading faster 2024-12-05 12:24:22 +01:00