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

Function parse_small1

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

Source from the content-addressed store, hash-verified

34
35#[bench]
36fn parse_small1(b: &mut Bencher) {
37 b.iter(|| {
38 let re = r"\p{L}|\p{N}|\s|.|\d";
39 Parser::new().parse(re).unwrap()
40 });
41}
42
43#[bench]
44fn parse_medium1(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