On Friday, June 16, 2017 at 10:38:09 AM UTC+2, Kirill Prazdnikov wrote:
>
> 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(s
Maybe jsinterop.base library has some utility methods for cross casting.
Otherwise your options probably are (all untested):
1.) create a JavaScript file with a function that creates the array, then
use JsInterop to call that function.
2.) If you want it to be more generic and super unsafe you
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 t