Monday, February 6, 2017

Re: float[] is super slow

OK thanks.

How can I personally patch the compiler to use Float32Array Int8Array, Int16Array, Int32Array, e,t,c ?
Is it super-hard ?
Is there a single place that generates new basic type array ?
If it is possible I could deploy the patched version to our company local repository.

Thanks

понедельник, 6 февраля 2017 г., 12:37:32 UTC+3 пользователь Jens написал:

There is an ugly workaround (which breaks portability, yes I write portable client code (iOS, Android)):

To make it portable use GWT super source. So in your main code you create a normal float array and in GWT super source you create the Float32Array instead. Then you publish myilb.jar and mylib-gwt.jar (containing the *.gwt.xml file and super source files).

I am not so sure that the Google GWT team will add new features to the compiler given that they are focused on J2CL and internal customers for quite some time now.

-- J.

--
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