godot/core/variant
Rémi Verschelde c717d5c64b 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>
2022-08-04 13:35:37 +02:00
..
array.cpp Remove Signal connect binds 2022-07-29 16:26:13 +02:00
array.h Add any() and all() methods to Array 2022-05-25 16:09:10 +02:00
binder_common.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
callable_bind.cpp Remove Signal connect binds 2022-07-29 16:26:13 +02:00
callable_bind.h Remove Signal connect binds 2022-07-29 16:26:13 +02:00
callable.cpp Remove Signal connect binds 2022-07-29 16:26:13 +02:00
callable.h Remove Signal connect binds 2022-07-29 16:26:13 +02:00
container_type_validate.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
dictionary.cpp Clean up Hash Functions 2022-06-20 12:54:19 +02:00
dictionary.h Add Dictionary.merge() 2022-05-31 21:05:56 +02:00
method_ptrcall.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
native_ptr.h Create GDExtension clases for PhysicsServer3D 2022-03-15 18:39:31 +01:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
type_info.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
typed_array.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
variant_call.cpp Arrays: Zero new items of trivial types on resize() (bindings only) 2022-08-04 13:35:37 +02:00
variant_construct.cpp Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant_construct.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant_destruct.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
variant_destruct.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
variant_internal.h Variant large bucket memory pool - for Projection 2022-08-02 16:27:57 +01:00
variant_op.cpp Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant_op.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant_parser.cpp Fix Vector4 serialization 2022-07-29 12:09:03 +02:00
variant_parser.h Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
variant_setget.cpp Add some missing Vector4 methods 2022-07-26 02:35:42 +02:00
variant_setget.h Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant_utility.cpp Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
variant.cpp Variant large bucket memory pool - for Projection 2022-08-02 16:27:57 +01:00
variant.h Variant large bucket memory pool - for Projection 2022-08-02 16:27:57 +01:00