@@ -12,39 +12,39 @@ public class CrossChunkMatcherBenchmarks
1212 public void Setup ( )
1313 {
1414 // Small: ~1KB with a few chunks
15- smallBuilder = new StringBuilder ( ) ;
15+ smallBuilder = new ( ) ;
1616 for ( var i = 0 ; i < 10 ; i ++ )
1717 {
1818 smallBuilder . Append ( "Hello <TAG>world</TAG> this is " ) ;
1919 smallBuilder . Append ( "a test with some <TAG>patterns</TAG> to match. " ) ;
2020 }
2121
2222 // Medium: ~10KB with more chunks
23- mediumBuilder = new StringBuilder ( ) ;
23+ mediumBuilder = new ( ) ;
2424 for ( var i = 0 ; i < 100 ; i ++ )
2525 {
2626 mediumBuilder . Append ( "Hello <TAG>world</TAG> this is " ) ;
2727 mediumBuilder . Append ( "a test with some <TAG>patterns</TAG> to match. " ) ;
2828 }
2929
3030 // Large: ~100KB with many chunks
31- largeBuilder = new StringBuilder ( ) ;
31+ largeBuilder = new ( ) ;
3232 for ( var i = 0 ; i < 1000 ; i ++ )
3333 {
3434 largeBuilder . Append ( "Hello <TAG>world</TAG> this is " ) ;
3535 largeBuilder . Append ( "a test with some <TAG>patterns</TAG> to match. " ) ;
3636 }
3737
3838 // Many matches: Lots of patterns to replace
39- manyMatchesBuilder = new StringBuilder ( ) ;
39+ manyMatchesBuilder = new ( ) ;
4040 for ( var i = 0 ; i < 500 ; i ++ )
4141 {
4242 manyMatchesBuilder . Append ( "<TAG>" ) ;
4343 }
4444
4545 // Force cross-chunk pattern matching by creating multiple chunks
4646 // Pattern spans across chunk boundaries
47- crossChunkBuilder = new StringBuilder ( ) ;
47+ crossChunkBuilder = new ( ) ;
4848 for ( var i = 0 ; i < 100 ; i ++ )
4949 {
5050 // Create chunks where <TAG> might span boundaries
0 commit comments