forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff28809
committed
Code review for dynahash change.
Commitbe0a666 left behind a comment about the order of some tests thatdidn't make sense without the expensive division, and in fact we mightas well change the order to one that fails more cheaply most of the timeas a micro-optimization. Also, remove the "+ 1" applied to max_bucket,to drop an instruction and match the original behavior. Per reviewfrom Tom Lane.Discussion:https://postgr.es/m/VI1PR0701MB696044FC35013A96FECC7AC8F62D0%40VI1PR0701MB6960.eurprd07.prod.outlook.com1 parentbe0a666 commitff28809
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
963 | 963 |
| |
964 | 964 |
| |
965 | 965 |
| |
966 |
| - | |
967 |
| - | |
| 966 | + | |
968 | 967 |
| |
969 |
| - | |
970 |
| - | |
| 968 | + | |
| 969 | + | |
971 | 970 |
| |
972 | 971 |
| |
973 | 972 |
| |
|
0 commit comments
Comments
(0)