mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
Improve Message
sorting performance (#4624)
This commit is contained in:
parent
17d938f078
commit
85f094f592
4 changed files with 23 additions and 10 deletions
|
@ -143,7 +143,8 @@ pub(crate) fn run(
|
|||
acc
|
||||
});
|
||||
|
||||
diagnostics.messages.sort_unstable();
|
||||
diagnostics.messages.sort();
|
||||
|
||||
let duration = start.elapsed();
|
||||
debug!("Checked {:?} files in: {:?}", paths.len(), duration);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue