Is it okay to use the event dispatcher frequently In Widget BP?

I’m making on Widget with a hierarchical structure, and because of readability i’ve decided to put all functions together into top level widget.

For this i have to use a lot of dispatchers and I think it is very inefficient… is there any other efficient way while ensuring readability? Or is it OK to use dispachers?

Why do you think so? They are quite efficient actually.

There is a test somewhere here in the forums where a message is blasted via a 10k loop vs 10k dispatcher broadcast. It’s a bit synthetic but dispatchers are much quicker since iterating in BPs is slow.


Besides that, oftentimes it is more beneficial to organise things logically even though the performance is not optimal.

2 Likes

Oh are they? Now I just have to use them. Thank you!!