Conversation
Merging this PR will improve performance by 13.34%
Performance Changes
Comparing Footnotes
|
.github/workflows/benchmarks.yml
Outdated
| uu_wc, | ||
| uu_factor, | ||
| uu_date | ||
| uu_sort |
There was a problem hiding this comment.
why do you remove them ? it isn't helping much ?!
There was a problem hiding this comment.
Useful to call codspeed quickly.
impressive! |
Interesting, using |
Because I kept 1 |
|
Also we reciently applied |
|
it's probably worth trying foldhash as well? |
b4aa98b to
bd12116
Compare
src/uu/sort/src/sort.rs
Outdated
| use std::ffi::{OsStr, OsString}; | ||
| use std::fs::{File, OpenOptions}; | ||
| use std::hash::{Hash, Hasher}; | ||
| use std::hash::BuildHasher as _; |
There was a problem hiding this comment.
to avoid confliction in the future.
There was a problem hiding this comment.
Applying clippy removed it...
There was a problem hiding this comment.
i would prefer we don't have this
it is a pretty ugly in the code base
i would prefer you remove the " as " in use ahash::AHashMap as HashMap;
instead
and change the name
it isn't like we are going not change the hashmap on a regular basis
There was a problem hiding this comment.
@xtqqczze recommended shadowing. Should we revert also for other utils?
I switched to AHash* at here anyway.
There was a problem hiding this comment.
yes, i don't like shadowing
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
No description provided.