Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
36
fn 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]
44
fn parse_medium1(b: &mut Bencher) {
Callers
nothing calls this directly
Calls
3
unwrap
Method · 0.80
iter
Method · 0.45
parse
Method · 0.45
Tested by
no test coverage detected