Friday, June 16, 2017

how to avoid JSNI

Hi, since arrays are very slow (see https://github.com/gwtproject/gwt/issues/9501)

I have to use the following code to workaround:

public native byte[] createFastInt8(int size) /*-{
return new Int8Array(size);
}-*/;


The same time I want to avoid using JSNI to be future compatible so
How to do that is pure JsInterop ? 

Thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment