Closed confluence closed 8 years ago
… to avoid running out of memory unnecessarily during dynamic allocation
This change helps to mitigate issue 185 (bad_alloc being thrown when these vectors are resized dynamically during the copy).
Is there a better way to calculate the maximum total size of the data than multiplying the dimensions together?
… to avoid running out of memory unnecessarily during dynamic allocation
This change helps to mitigate issue 185 (bad_alloc being thrown when these vectors are resized dynamically during the copy).
Is there a better way to calculate the maximum total size of the data than multiplying the dimensions together?