mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 05:50:54 +01:00
No description
2ad15c499a
Summary: Fixes T11744. Because intraline diffs are expensive to generate, we already bail out and decline to generate them for very long lines. However, we currently split the inputs into lists of characters first, then check how long they are and make a decision to bail. For //huge// inputs (e.g., 1MB+), this is too late: just splitting them has a large CPU/RAM cost. (These inputs are rare in normal source, but can appear in, e.g., JSON files written without newlines.) Instead, add an extra "are the inputs really huge?" check first, and bail early if they are. Test Plan: - Generated a 1MB "change a file full of Q to a file full of R" diff. - Before change: purged changeset cache; took about 7 seconds to load. - After change: purged changeset cache; took about 1 second to load. - Viewed some normal diffs to make sure intraline edits still displayed correctly. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11744 Differential Revision: https://secure.phabricator.com/D16683 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. You can read more in the User Guide
For more information about Phabricator, see http://phabricator.org/.
LICENSE
Arcanist is released under the Apache 2.0 license except as otherwise noted.