Closed blackliner closed 7 years ago
I'm deferring this to next version because I really need to get these builds out.
No worries, you need any help on that?
How do you know that it's an expensive call? In my opinion, a part.requestresource somehow also needs to crawl through all EC containers, right?
Did you profile it, or is it an assumption? I don't want to seem sarcastic, I'd really like to know.
I've been informed by people more in the know about the state of the code than either of us, let's say.
Just to clarify, you are talking about the vessel.getConnected... , not the EC ID, right?
I'll try to think about something, but it needs to know about the current available EC. Maybe I find another function.
Eh, it's probably fine. There's worse bottlenecks in the code for me to optimize.
New field minResToLeave to prevent totalt EC consumption (loss of vessel control etc.)