зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-07 16:05:50 +03:00
use io::Result<T> instead of Result<T, io::Error> in bench
Этот коммит содержится в:
@@ -107,6 +107,7 @@ fn random(c: &mut Criterion) {
|
||||
});
|
||||
}
|
||||
|
||||
// Inserting a long line is slower than multiple short lines into `TextArea`
|
||||
fn long(c: &mut Criterion) {
|
||||
c.bench_function("insert::long::1_lorem", |b| {
|
||||
b.iter(|| black_box(append_long_lorem(1)))
|
||||
|
||||
Ссылка в новой задаче
Block a user