http://gwt-code-reviews.appspot.com/1236801/diff/39001/40008
File dev/core/src/com/google/gwt/dev/javac/typemodel/JRealClassType.java
(right):

http://gwt-code-reviews.appspot.com/1236801/diff/39001/40008#newcode108
dev/core/src/com/google/gwt/dev/javac/typemodel/JRealClassType.java:108:
this.byteCode = byteCode;
On 2011/01/24 18:53:37, zundel wrote:
I was just thinking - queuing up a task here to compute the hash is a
function
it might be nice to offload some work to a thread.  Then, on refresh,
the old
version would always be computed.  This might give us better startup
performance
on muliticore boxes too.

Just a thought - add a TODO if you think it would be worthwhile to
look into.

It's an interesting suggestion.  However, in practice, the need to
compute the hash seems to apply to a relatively small subset of all the
types loaded, and so it would probably be unnecessary overhead to by
default compute a hash for all types loaded.

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

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

Reply via email to