Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance on whitespace-heavy AFF files.
Rather than stripping the comments from all lines of an AFF file at once, handle the lines one at a time. Additionally, use the native .trim() instead of running our own trimming regular expression. We were already using .trim() in other places, so browser compatibility shouldn't be an issue.
- Loading branch information
Showing
3 changed files
with
24 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters