Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
52
fn 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]
60
fn parse_medium3(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