Commit 8d153c5
Timothy B. Terriberry
Avoid rescanning invalid regions during file open.
If there is a large region of invalid data in the middle of the
file, avoid scanning it repeatedly during chain boundary
enumeration.
Because of the bisection, doing that would only be O(n*log(n)), not
quadratic like op_get_last_page(), but still good to avoid.1 parent ec63ede commit 8d153c5
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
| 1192 | + | |
1192 | 1193 | | |
1193 | 1194 | | |
1194 | 1195 | | |
| |||
1199 | 1200 | | |
1200 | 1201 | | |
1201 | 1202 | | |
1202 | | - | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1203 | 1211 | | |
1204 | 1212 | | |
1205 | 1213 | | |
| |||
0 commit comments