emscripten-core / emscripten-core/emscripten

using convertJSArrayToNumberVector to convert 2d arrays

Open
#19,076 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.