- Notifications
You must be signed in to change notification settings - Fork5
Commite6b9254
committed
Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a redundant
cache lookup in the success case. This won't help much for cases wherethe given relation is far down the search path, but it does not hurt inany cases either; and it requires only a little new code. Per gripe fromJim Nasby about slowness of \d with many tables.1 parentf59175d commite6b9254
1 file changed
+42
-7
lines changedLines changed: 42 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
335 | 335 |
| |
336 | 336 |
| |
337 | 337 |
| |
338 |
| - | |
339 |
| - | |
| 338 | + | |
340 | 339 |
| |
341 | 340 |
| |
| 341 | + | |
342 | 342 |
| |
343 |
| - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
344 | 360 |
| |
345 | 361 |
| |
346 | 362 |
| |
| |||
417 | 433 |
| |
418 | 434 |
| |
419 | 435 |
| |
420 |
| - | |
421 |
| - | |
| 436 | + | |
422 | 437 |
| |
423 | 438 |
| |
| 439 | + | |
424 | 440 |
| |
425 |
| - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
426 | 461 |
| |
427 | 462 |
| |
428 | 463 |
| |
|
0 commit comments
Comments
(0)