forked from mirrors/0ad
e48b9ea106
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.