- Replace manual make+copy with slices.Clone in Snapshot() - Remove redundant _ = len(data); Snapshot() call alone is sufficient to exercise the lock under -racetags/v2.2.7^2^2
|
||
| 1 | 1 |
|
| 2 | 2 |
|
| 3 | 3 |
|
| 4 |
|
|
| 4 | 5 |
|
| 5 | 6 |
|
| 6 | 7 |
|
|
||
| 43 | 44 |
|
| 44 | 45 |
|
| 45 | 46 |
|
| 46 |
|
|
| 47 |
|
|
| 47 |
|
|
| 48 | 48 |
|
| 49 | 49 |
|
| 50 | 50 |
|
|
||
| 68 | 68 |
|
| 69 | 69 |
|
| 70 | 70 |
|
| 71 |
|
|
| 72 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 | 73 |
|
| 74 | 74 |
|
| 75 | 75 |
|