forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite94c1a5
committed
Avoid unnecessary division in interval_cmp_value().
Splitting the time field into days and microseconds is prettyuseless when we're just going to recombine those values.It's unclear if anyone will notice the speedup in real-worldcases, but a cycle shaved is a cycle earned.Discussion:https://postgr.es/m/2629129.1632675713@sss.pgh.pa.us1 parent7c1d8a2 commite94c1a5
1 file changed
+5
-8
lines changedLines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2352 | 2352 |
| |
2353 | 2353 |
| |
2354 | 2354 |
| |
2355 |
| - | |
2356 | 2355 |
| |
2357 | 2356 |
| |
2358 | 2357 |
| |
2359 |
| - | |
2360 |
| - | |
| 2358 | + | |
| 2359 | + | |
2361 | 2360 |
| |
2362 |
| - | |
2363 |
| - | |
2364 |
| - | |
| 2361 | + | |
2365 | 2362 |
| |
2366 | 2363 |
| |
2367 |
| - | |
2368 |
| - | |
| 2364 | + | |
| 2365 | + | |
2369 | 2366 |
| |
2370 | 2367 |
| |
2371 | 2368 |
| |
|
0 commit comments
Comments
(0)