Custom node very slow

Hi,
Why is this simple custom node very, very slow to execute (about 2 minutes)?
image

This is like a color palet that I’d like to use in several graphs. I was thinking of a custom node to find it in my menu at every new Dynamo session. And it would also update in every graph if I change it once.

Is there another way to do this ?
Thank you for your advice.
ColorList Custom Node.dyf (11.4 KB)

Thank you for this.
But it’s not really different, still very long.
How long is it for you ?

Actually, I found something.
It seems that the number of opened windows in Revit slowed down the computation capacities of Dynamo.
By keeping only one window open in Revit the speed in Dynamo came back to normal…

1 Like

Revit likely sapped all your RAM. Worth checking into next time should you see things slow down again.