So
- Arrays, double are mapped to native types.
Not really, for float[] or for double[] there is corresponding Float32Array and Float64Array, or Int32Array for int[].
But the GWT uses JsArray of JsObjects and use JsNumber (boxed double) for any primitive types.
As result, any generic multiplatform algorithm using arrays is extremely memory and performance inefficient.
Other java->js compilers offer more correct solution.
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/52d9465a-bbd5-496c-bfa3-e3e59a18e9d4%40googlegroups.com.
No comments:
Post a Comment