MCPcopy Create free account
hub / github.com/davidblewett/rure-python / parse_medium2

Function parse_medium2

regex/regex-syntax/benches/bench.rs:52–57  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

50
51#[bench]
52fn parse_medium2(b: &mut Bencher) {
53 b.iter(|| {
54 let re = r"\s\S\w\W\d\D";
55 Parser::new().parse(re).unwrap()
56 });
57}
58
59#[bench]
60fn parse_medium3(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
iterMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected