Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emscripten 최적화 #3

Open
EJShim opened this issue Oct 24, 2022 · 2 comments
Open

Emscripten 최적화 #3

EJShim opened this issue Oct 24, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@EJShim
Copy link
Owner

EJShim commented Oct 24, 2022

현재는 CPP <-> JS 간 소통할 때, (`SingleIteration)

emscripten::convertJSArrayToNumberVector 로 js array 를 std::vector 로 변환,

emscripten::val 을 이용해서 결과물을 다시 js 로 변환하는 방식을 사용하고 있음.

이렇게 말고,, JS 와 cpp 간 메모리를 공유할 수 있는 방법이 있을지 보고, 있으면 그 방법을 활용하여 결과물 개선,

기본으로 올라가있는 메쉬는 실시간으로 작동하고 있지만, FAUST 데이터를 업로드해 보면 시뮬레이션이 많이 느려지는 현상이 있음. 만약 이 방식이 적용된다면 FAUST 와 같이 큰 데이터에서도 꽤 빠른 시뮬레이션을 해 줄 것으로 기대됨.

@EJShim EJShim self-assigned this Oct 24, 2022
@EJShim EJShim added the enhancement New feature or request label Oct 24, 2022
@EJShim
Copy link
Owner Author

EJShim commented Oct 24, 2022

@EJShim
Copy link
Owner Author

EJShim commented Oct 24, 2022

@EJShim EJShim removed their assignment May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant