emscripten-core / emscripten-core/emscripten
using convertJSArrayToNumberVector to convert 2d arrays
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hi,
Is there any way to convert 2d js arrays like `[[1.2,2.3],[1.2,1.2]]` to `vector>` using `convertJSArrayToNumberVector ` functions?
I know I can define custom types like `vector>` and work directly with the vectors but I feel this function will have a better performance.
Contributor guide
Assessment
This issue has not been assessed yet.