-
Notifications
You must be signed in to change notification settings - Fork 0
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
Status compared to JSOX itself #1
Comments
the overhead of exchanging the strings with the WASM and/or creating the JS objects back out was slower than just the JS version... |
That is unfortunate. This is a known issue. WebAssembly/interface-types#38. We can see if things change. on that thread, a part of the issue seems to be UTF16 <-> UTF8 conversion. Could you adjust the WASM code to use UTF16? @d3x0r There is another issue regarding this: WebAssembly/interface-types#13 Node seems to give the option for this string encoding. So we may get higher speed by running the code inside Node. |
well; the target is node; the overall size of the wasm module is larger than the JS also (especially if minimized and gzipped) |
This also is lacking the prototype revivals for 'class' support... because the early just JSON-esque tests were so very slow... There is a small bit of source in this wasm-jsox version to build some objects from those structs... the node addon has https://github.com/d3x0r/sack.vfs/blob/master/src/jsoxParse.cc (node C++ interface) jsoxParse.cc is what really needed to be ported to emscripten C++ binding interface sort of thing :) |
What is the status of this compared to JSOX itself?
The text was updated successfully, but these errors were encountered: