Matthew Dempsky has uploaded a new patch set (#4).
Change subject: Reduce ClassSourceFileComposer memory and time complexity
to O(N)
......................................................................
Reduce ClassSourceFileComposer memory and time complexity to O(N)
For long strings with lots of newlines, the current recursive
algorithm results in a bunch of nested call frames, each keeping a
large portion of the original string in memory. Switching to an
iterative algorithm avoids keeping more than one or two copies of the
input string alive in memory at a time.
Change-Id: I30301a58bad0244a41b08fb534c4cb18b90c9494
Review-Link: https://gwt-review.googlesource.com/#/c/2460/
---
M user/src/com/google/gwt/user/rebind/ClassSourceFileComposer.java
1 file changed, 25 insertions(+), 22 deletions(-)
--
To view, visit https://gwt-review.googlesource.com/2460
To unsubscribe, visit https://gwt-review.googlesource.com/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30301a58bad0244a41b08fb534c4cb18b90c9494
Gerrit-PatchSet: 4
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky <[email protected]>
Gerrit-Reviewer: Matthew Dempsky <[email protected]>
Gerrit-Reviewer: Thomas Broyer <[email protected]>
--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.