Do I need to zero out every numerical field as well, or will simply deleting the type object zero them all out automatically?
...why do you care about the values held in a nonexistent object?
Once the object is deleted, the fields are neither zero nor nonzero. They no longer exist.
(int and float values don't take up heap space, so it isn't meaningful to talk about freeing them, if that's what you meant; in any case, setting something to 0 would never free it or be relevant to freeing it anyway. Strings do take up heap space, but the language manages them behind the scenes for you, automatically freeing them when appropriate)
(if you're used to C and its "uninitialized variables" and have some concern based on that, don't worry - B3D auto-initializes things to zero on creation, this is a non-issue)
|