Commit e94c1a5
committed
Avoid unnecessary division in interval_cmp_value().
Splitting the time field into days and microseconds is pretty
useless when we're just going to recombine those values.
It's unclear if anyone will notice the speedup in real-world
cases, but a cycle shaved is a cycle earned.
Discussion: https://postgr.es/m/2629129.1632675713@sss.pgh.pa.us1 parent 7c1d8a2 commit e94c1a5
1 file changed
+5
-8
lines changed| 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