Author: [email protected]
Date: Tue Feb 17 08:06:02 2009
New Revision: 4766

Modified:
    wiki/HashMapOptimization.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/HashMapOptimization.wiki
==============================================================================
--- wiki/HashMapOptimization.wiki       (original)
+++ wiki/HashMapOptimization.wiki       Tue Feb 17 08:06:02 2009
@@ -1,4 +1,4 @@
-#summary Proposed optimizations to the JRE !HashMap implementation.
+#summary Proposed optimizations to the JRE HashMap implementation.

  = Introduction =

@@ -17,6 +17,6 @@

  For simple String->Object maps, the simplest option is to create a simple  
map implementation on top of a Javascript object. This can be accomplished  
easily using JSNI (though you still need to prefix your keys with a special  
character to avoid stepping on certain Javascript keywords), but is  
insufficient for many use-cases.

-The second option is to optimize GWT's JRE !HashMap implementation. No  
coherent proposal for doing so exists as yet, but ideas are very much  
welcome. Please do have a look at !AbstractHashMap.java in GWT's JRE to get  
an idea of the problems that need to be solved.
+The second option is to optimize GWT's JRE !HashMap implementation. The  
current implementation makes heavy use of other collections, sets, and  
utility classes, so it seems likely that a careful optimization of what's  
there with an eye towards eliminating dependencies could yield a much  
smaller implementation.

-Finally, while it would be preferable to optimize the JRE !HashMap, it  
might also be possible to create a replacement Map type with simpler  
semantics (perhaps something closer to !IdentityHashMap with only get(),  
put(), and iterator() methods).
\ No newline at end of file
+Finally, while it would be preferable to optimize the JRE !HashMap, it  
might also be possible to create a replacement Map type with simpler  
semantics (perhaps something simple with only get(), put(), and iterator()  
methods).
\ No newline at end of file

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

Reply via email to