Files
yoga/java
Amir Shalem e5acf77eea Don't allocate large arrays on stack when copying native pointers, use heap based array
Summary:
Don't allocate large arrays on stack when copying native pointers, use heap based array.

Today the code copies the native pointers on the stack, since it may be too big, lets make sure to use heap based allocating using std::vector.

This array is afterwards converted into a reversed map from index to pointer, so it is heap based anyhow.

Changelog: [Internal] Don't allocate large arrays on stack when copying native pointers, use heap based array

Reviewed By: Andrey-Mishanin

Differential Revision: D28747213

fbshipit-source-id: da69b4b2d0960fdade9f07f44654b30d6dacc43a
2021-06-03 07:04:01 -07:00
..
2017-02-23 05:07:20 -08:00
2021-03-01 13:15:11 -08:00
2021-05-21 11:41:12 -07:00
2019-11-13 16:46:09 -08:00
2018-10-24 03:11:40 -07:00
2019-11-13 16:46:09 -08:00