1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/red
Nicholas O'Leary e1dbb95396 Deep-clone messages when there are multiple recipients
Fixes #85

As well as adding deep-clone (via the new dependency on the 'clone' module), we no longer clone the message if there is a single recipient. This makes simple node-to-node flows more efficient.

I've done some simple profiling using process.hrtime to time how long the Node.send function takes, and at best, this change is neutral to performance.
2013-11-21 14:03:17 +00:00
..
storage Make storage.init return a promise to async initialisation 2013-11-12 17:13:06 +00:00
events.js Start to add server-side events 2013-09-09 20:03:22 +01:00
library.js Make storage.init return a promise to async initialisation 2013-11-12 17:13:06 +00:00
nodes.js Deep-clone messages when there are multiple recipients 2013-11-21 14:03:17 +00:00
red.js Add NODE_RED_HOME env variable 2013-10-20 22:08:38 +01:00
server.js Add nodesDir property to all nodes files to exist elsewhere 2013-11-13 17:02:29 +00:00
ui.js Allow icons to be bundled with nodes 2013-10-13 21:01:46 +01:00