2022-11-24 20:56:13 +00:00
|
|
|
use squozen::prepare_pattern::prepare_pattern;
|
2022-11-11 16:31:22 +00:00
|
|
|
|
|
|
|
const COUNT: usize = 5 * 1000 * 1000 * 100;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let mut end = COUNT;
|
|
|
|
while end > 0 {
|
2022-11-24 20:56:13 +00:00
|
|
|
let _ = prepare_pattern(b"/foo/bar/whatever[0-9]*");
|
2022-11-11 16:31:22 +00:00
|
|
|
end = end - 1;
|
|
|
|
}
|
|
|
|
}
|