[cfe-dev] Tooling: how to deal with headers?

Sean Silva silvas at purdue.edu
Mon Jan 14 11:37:35 PST 2013


On Mon, Jan 14, 2013 at 5:12 AM, Manuel Klimek <klimek at google.com> wrote:
> If you use the RefactoringTool, adding Replacement's will auto-deduplicate.

Ah cool.

On Mon, Jan 14, 2013 at 5:12 AM, Manuel Klimek <klimek at google.com> wrote:
> Use RefactoringTool and make all your replacements in a single tool-run. It
> will apply all changes in the very end.

For some reason, I was thinking a separate process being run for each
TU, and since I wasn't aware of any kind of centralized
serialization/DB logic for the edits which would then be able to
deduplicate, but I guess they are all just in the same process and are
stored in memory. Is peak resident memory O(#replacements) then? What
kind of memory usage for replacements have you seen in practice?

-- Sean Silva



More information about the cfe-dev mailing list