mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
CParamNodes can be quite large, thus we usually cache the JS::Value when
converting them. The AIInterface makes heavy use of it as detected in #7404.
However, the cached values are re-frozen everytime, which is a
significant waste of time on a large number of templates.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| EngineScriptConversions.cpp | ||
| JSInterface_Simulation.cpp | ||
| JSInterface_Simulation.h | ||
| MessageTypeConversions.cpp | ||
| ScriptComponent.cpp | ||
| ScriptComponent.h | ||