- Notifications
You must be signed in to change notification settings - Fork5
Commitd8b04d5
committed
In ReadOrZeroBuffer (and related entry points), don't bother to call
PageHeaderIsValid when we zero the buffer instead of reading the page in.The actual performance improvement is probably marginal since this functionisn't very heavily used, but a cycle saved is a cycle earned.Zdenek Kotala1 parent70d7569 commitd8b04d5
1 file changed
+23
-20
lines changedLines changed: 23 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 | 355 |
| |
359 |
| - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
360 | 360 |
| |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
369 | 379 |
| |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 |
| - | |
376 |
| - | |
377 | 380 |
| |
378 | 381 |
| |
379 | 382 |
| |
|
0 commit comments
Comments
(0)