| @@ 592-598 (lines=7) @@ | ||
| 589 | $y = $x - $k - $delta; |
|
| 590 | ||
| 591 | $snake2 = 0; |
|
| 592 | while ( $x > 0 && $y > 0 |
|
| 593 | && $from[$x + $bottoml1_min_1] === $to[$y + $bottoml2_min_1] |
|
| 594 | ) { |
|
| 595 | --$x; |
|
| 596 | --$y; |
|
| 597 | ++$snake2; |
|
| 598 | } |
|
| 599 | $V1[$limit + $k] = $x; |
|
| 600 | ||
| 601 | // check to see if we can cut down our diagonal range |
|
| @@ 663-669 (lines=7) @@ | ||
| 660 | $y = $x - $k - $delta; |
|
| 661 | ||
| 662 | $snake2 = 0; |
|
| 663 | while ( $x > 0 && $y > 0 |
|
| 664 | && $from[$x + $bottoml1_min_1] === $to[$y + $bottoml2_min_1] |
|
| 665 | ) { |
|
| 666 | --$x; |
|
| 667 | --$y; |
|
| 668 | ++$snake2; |
|
| 669 | } |
|
| 670 | $V1[$limit + $k] = $x; |
|
| 671 | ||
| 672 | if ( $k >= -$delta - $d && $k <= $d - $delta |
|