fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

address 6010

Open Goober5000 opened this issue 7 months ago • 0 comments

I took a close look at the code involved in parsing particle tables. There is no smoking gun, but there are several ways to polish the code which I have implemented here. The most likely culprits for the slowdown, IMO, are the repeated conversions between SCP_string and C-string, especially in ParticleManager::getEffectByName(); followed by the omission of std::move in several places.

Addresses #6010.

Goober5000 avatar Jul 03 '24 19:07 Goober5000