Blueprint local variables vs class vars, performance / advantages

I haven’t noticed the thing about compile times and number of BP instances. That is interesting. To me compile times seem to depend most on simply the amount of “stuff” present in the functions you’ve modified since the last compile. Just a layman’s observation.

About passing parameters, I do worry about performance sometimes since arrays and structs are always copied during passing. Seems like making them global would result in better speed/memory use.

As for the infection… yes I may have it… but not from youtube, more because 1. the function might not return anything, but it changes a class var and it needs to be called multiple times. and 2. function encapsulation comes with local vars and new dedicated graph which you don’t get with events.

Function libraries are good - and they aren’t technically restricted to local vars - they can access class variables of the calling BP by casting the world context node. You’re saying this is a nono? There are times when it seems inevitable.
Thanks for replying.