| 1 |
First we push a lot on the stack by nesting parenthesis: |
| 2 |
|
| 3 |
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( |
| 4 |
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( |
| 5 |
((((((((((((((((((((((((((((((((((((((((((( |
| 6 |
|
| 7 |
(should be 200 states pushed here) |
| 8 |
|
| 9 |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) |
| 10 |
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) |
| 11 |
))))))))))))))))))))))))))))))))))))))))))) |
| 12 |
|
| 13 |
Now we match progressively bigger tokens to increase the read buffer: |
| 14 |
|
| 15 |
len=1 0 |
| 16 |
len=2 00 |
| 17 |
len=4 0000 |
| 18 |
len=8 00000000 |
| 19 |
len=16 0000000000000000 |
| 20 |
len=32 00000000000000000000000000000000 |
| 21 |
len=64 0000000000000000000000000000000000000000000000000000000000000000 |
| 22 |
len=128 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 23 |
len=256 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 24 |
len=512 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 25 |
len=1024 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |