Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug that caused the file-tree construction to slow down significantly #1126

Merged
merged 1 commit into from
May 21, 2020

Conversation

Eugenij-W
Copy link
Contributor

@Eugenij-W Eugenij-W commented May 16, 2020

Description of Changes

The sort() function called nerdtree#compareNodesBySortKey() which in turn called getSortKey() for each comparison (~5996 times for a directory with 310 files), and unfortunately, getSortKey() re-created the sort key each time because g:NERDTreeOldSortOrder was not set to g:NERDTreeSortOrder at the start.


New Version Info

Author's Instructions

  • Derive a new MAJOR.MINOR.PATCH version number. Increment the:
    • MAJOR version when you make incompatible API changes
    • MINOR version when you add functionality in a backwards-compatible manner
    • PATCH version when you make backwards-compatible bug fixes
  • Update CHANGELOG.md, following the established pattern.

Collaborator's Instructions

  • Review CHANGELOG.md, suggesting a different version number if necessary.
  • After merge, tag the merge commit, e.g. git tag -a 3.1.4 -m "v3.1.4" && git push origin --tags

@Eugenij-W Eugenij-W marked this pull request as ready for review May 16, 2020 19:39
@PhilRunninger PhilRunninger merged commit 10eaa3a into preservim:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants