Skip to content

Commit 857cda4

Browse files
committed
cmd/compile: convert merge to use appl. bal. trees for sharing
This CL replaces a not-very-shared linear-sized set representation with a much more shared representation. For the annoying test program in question, it reduces the heap size by 95%, and the time slightly. However, for some programs build time is longer. This also includes at least one bug fix for problems uncovered while ensuring compatibility with what it replaces. Fixes #51543. Change-Id: Ie7a4c6ea460775faeed2b0378ab21ddffd15badc Reviewed-on: https://go-review.googlesource.com/c/go/+/397318 Run-TryBot: David Chase <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
1 parent d339d08 commit 857cda4

File tree

4 files changed

+1945
-248
lines changed

4 files changed

+1945
-248
lines changed

0 commit comments

Comments
 (0)