Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
2.0.0
-
None
Description
For runtime schema definition errors, when we use schemaDefinitionUnless (and similar functions), a WrappedArray is allocated for the variable arguments to be passed into the function. This allocation can be noticeable, and in most cases, the allocated array won't even be used because there isn't a schema definition. Similar to other functions, we should create macros for schemaDefintionUnless so that the WrappedArray is only allocated when there is an actual SDE.