The max default dimension for HDF5-based MAT variables was changed from stack allocation to heap allocation by dec7a79e8037fd26d983e35222a0c7e7b729d84c. A better idea is to have some kind of (configurable) max. dimension for stack allocation. e.g., if rank is less than or equal to 3 stack allocation is used, whereas higher-dimensional arrays utilize dynamic allocation (heap).
The max default dimension for HDF5-based MAT variables was changed from stack allocation to heap allocation by dec7a79e8037fd26d983e35222a0c7e7b729d84c. A better idea is to have some kind of (configurable) max. dimension for stack allocation. e.g., if rank is less than or equal to 3 stack allocation is used, whereas higher-dimensional arrays utilize dynamic allocation (heap).