This is an archive of the discontinued Mercurial Phabricator instance.

simplemerge: avoid quadratic concatenation when building output text
ClosedPublic

Authored by martinvonz on Dec 9 2020, 4:28 AM.

Details

Summary

I haven't checked if the difference is measurable, but the new version
is no less readable or idiomatic, so I don't think performance numbers
are needed.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.