-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stats
: use extend_from_slice when possible
its more readable, and a tad more performant than multiple pushes. Also since empty()/String::new() is a const fn, the compiler "may" make it more efficient/performant - also made it plain that from_bytes is using the simd accelerated from_utf8
- Loading branch information
1 parent
dbcea39
commit c71ad4e
Showing
1 changed file
with
28 additions
and
38 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