forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit69eb643
committed
Parse catalog .dat files as a whole when compiling the backend
Previously Catalog.pm eval'd each individual hash referenceso that comments and whitespace can be preserved when runningreformat-dat-files. This is unnecessary when building, and we can save~15% off the run time of genbki.pl by simply slurping and eval'-ingthe whole file at once. This saves a bit of time, especially in highlyparallel builds, since most build targets depend on this script's outputs.Report and review by Andres FreundDiscussion:https://www.postgresql.org/message-id/CAFBsxsGW%3DWRbnxXrc8UqqR479XuxtukSFWV-hnmtgsbuNAUO6w%40mail.gmail.com1 parent0324651 commit69eb643
1 file changed
+20
-2
lines changedLines changed: 20 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
| 290 | + | |
| 291 | + | |
290 | 292 |
| |
291 | 293 |
| |
292 | 294 |
| |
| |||
341 | 343 |
| |
342 | 344 |
| |
343 | 345 |
| |
344 |
| - | |
| 346 | + | |
| 347 | + | |
345 | 348 |
| |
346 | 349 |
| |
347 | 350 |
| |
348 | 351 |
| |
349 |
| - | |
| 352 | + | |
350 | 353 |
| |
351 | 354 |
| |
352 | 355 |
| |
353 | 356 |
| |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
354 | 372 |
| |
355 | 373 |
| |
356 | 374 |
| |
|
0 commit comments
Comments
(0)