Re: GWT HashMap VS Javascript Object
No, they aren't the same: http://code.google.com/p/google-web-toolkit/wiki/HashMapOptimization.
-- I didn't benchmark both, but, based on the article above, I would say its preferable to use JavascriptObject if your requirements are satisfied by it.
--
D. Reinert
Em quarta-feira, 15 de janeiro de 2014 16h32min41s UTC-3, HamsterofDeath escreveu:
Em quarta-feira, 15 de janeiro de 2014 16h32min41s UTC-3, HamsterofDeath escreveu:
i would expect similar performance characteristics, since both things are basically the same^^the browser might be able to apply optimizations if the mapping are known at "compile time", but other than that..... i would either go all out and do a lot of research, or don't care2014/1/15 Danilo Reinert <danilo...@gmail.com>What are the pros/cons of using a simple Javascript Object instead a HashMap for mapping purposes? Would it perform better for few items cases, say <10 ?--
--
D. Reinert
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-we...@googlegroups.com .
Visit this group at http://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/groups/opt_out .
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home