Can custom node accelerate dynamo compute speed?

When using Dynamo with lots of nodes, the compute time is too long.

Is there any way to speed up computation?

Or using custom node can accelerate the speed?

The above link shows that if you can put your code in CBNs, you could expect a big speed-up.

Thanks a lot.