mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 15:24:35 +00:00
beee5b2b8b
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 e48b9ea106)
Signed-off-by: Itms <itms@wildfiregames.com>