http://gwt-code-reviews.appspot.com/750801/diff/1/17
File user/super/com/google/gwt/emul/java/lang/Object.java (right):

http://gwt-code-reviews.appspot.com/750801/diff/1/17#newcode46
user/super/com/google/gwt/emul/java/lang/Object.java:46: * lookup
castability between types
I think this makes sense, and would reduce the size of the generated
code, e.g. "[12,35,123]" vs. "{12:1,35:1,123:1}".  The Cast.canCast()
methods would have to iterate through the array explicitly to test for
existence though, instead of a simple object property lookup.  Thoughts?
  RayC suggested something similar as well.

http://gwt-code-reviews.appspot.com/750801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to