Note that moving to the templated versions of array allocation functions in [0] caused integer overflow regressions because multiplying by the `sizeof(type)` caused the following values to be cast to a size_t. [0]: e85ebb24fe
e85ebb24fe