So I have a use case where on a single instance I have 18K+ nodes across multiple tabs. To modify a single flow I use the modify single flow API (using /docs/api/admin/methods/put/flow/). With that many nodes, the API was taking ~6 secs to return a success. Profiling lead to the conclusion that the clone library was the biggest culprit.
So I did an experiment & replaced the clone library with rfdc in the runtime module. This made quite an impact and the API (modify single flow) time reduced to ~2 seconds. My changes can be seen here on github.
is this approach correct? i am no where close to an expert on node or node-red, thus the question.
and is this something that the community would be interested in, if I were to invest more time to make a proper PR out of it?
PS: as a newbie here, I can put more than 2 links hence the improper API link.