Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9310f0f

Browse files
committed
Make bench output same as function names
1 parent86509ee commit9310f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎benches/graphemes.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use unicode_segmentation::UnicodeSegmentation;
77
fngraphemes(c:&mutCriterion,lang:&str,path:&str){
88
let text = fs::read_to_string(path).unwrap();
99

10-
c.bench_function(&format!("grapheme{}",lang), |bench|{
10+
c.bench_function(&format!("graphemes_{}",lang), |bench|{
1111
bench.iter(||{
1212
for ginUnicodeSegmentation::graphemes(black_box(&*text),true){
1313
black_box(g);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp