File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,20 @@ fn compile_small_full(b: &mut Bencher) {
4848#[ bench]
4949fn compile_huge ( b : & mut Bencher ) {
5050 b. iter ( || {
51- let re = Parser :: new ( ) . parse ( r"\p{L}{100 }" ) . unwrap ( ) ;
51+ let re = Parser :: new ( ) . parse ( r"\p{L}{50 }" ) . unwrap ( ) ;
5252 Compiler :: new ( ) . size_limit ( 1 << 30 ) . compile ( & [ re] ) . unwrap ( )
5353 } ) ;
5454}
5555
5656#[ bench]
5757fn compile_huge_bytes ( b : & mut Bencher ) {
5858 b. iter ( || {
59- let re = Parser :: new ( ) . parse ( r"\p{L}{100 }" ) . unwrap ( ) ;
59+ let re = Parser :: new ( ) . parse ( r"\p{L}{50 }" ) . unwrap ( ) ;
6060 Compiler :: new ( ) . size_limit ( 1 << 30 ) . bytes ( true ) . compile ( & [ re] ) . unwrap ( )
6161 } ) ;
6262}
6363
6464#[ bench]
6565fn compile_huge_full ( b : & mut Bencher ) {
66- b. iter ( || regex ! ( r"\p{L}{100 }" ) ) ;
66+ b. iter ( || regex ! ( r"\p{L}{50 }" ) ) ;
6767}
You can’t perform that action at this time.
0 commit comments