diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2024-04-24 21:47:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 21:47:02 +0200 |
commit | 7f084770c23855083776b0598f2f54bb59a06875 (patch) | |
tree | 9698c7ee0f7e4a0b0b7382c63b5f7b6e0c8514d1 /src/nvim/lua/executor.c | |
parent | a1550dbf0ac252052a7a71780708d3ec05aa3686 (diff) | |
download | rneovim-7f084770c23855083776b0598f2f54bb59a06875.tar.gz rneovim-7f084770c23855083776b0598f2f54bb59a06875.tar.bz2 rneovim-7f084770c23855083776b0598f2f54bb59a06875.zip |
perf(diagnostic): avoid table copies to filter by severity (#28491)
Instead of adding all diagnostics matching lnum filters to a table, and
then copying that table to another table while applying the severity
filter, this changes the flow to only add diagnostics matching both
filters in the first pass.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions