diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-04 16:43:49 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-08-04 13:35:37 +0200 |
commit | c717d5c64baa5c63aca977e49b0ca2b5b0b0f4e0 (patch) | |
tree | ff2c84944e52305cc0b23599737ea9359febfd22 /doc/classes/float.xml | |
parent | 20e4b90fe947d30bf8767fad536a263735be61fb (diff) |
Arrays: Zero new items of trivial types on resize() (bindings only)
This is not enabled by default in the core version for performance reasons,
as Vector/CowData are used in critical code paths where not zero'ing memory
which is going to be set later on can be important.
But for bindings / the scripting API, we make zero the new items by default
(which already happened for built types like Vector3, etc., but not for
trivial types like int, float).
Fixes #43033.
Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
Diffstat (limited to 'doc/classes/float.xml')
0 files changed, 0 insertions, 0 deletions