- Notifications
You must be signed in to change notification settings - Fork5
Commit64a6059

Neil Conway
A few minor list-related cleanups:
(1) Replace while loop with the new forboth() construct inparser/analyze.c(2) Replace lcons() with lappend() in SearchCatCacheList(). Since thesenow have the same performance, there is no reason to prefer lcons() inthis case, and using lappend() leads to cleaner code.(3) Improve the name of the second parameter to for_each_cell()1 parent0ed07d4 commit64a6059
File tree
3 files changed
+13
-16
lines changed- src
- backend
- parser
- utils/cache
- include/nodes
3 files changed
+13
-16
lines changedLines changed: 4 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
2273 | 2273 |
| |
2274 | 2274 |
| |
2275 | 2275 |
| |
2276 |
| - | |
2277 |
| - | |
| 2276 | + | |
| 2277 | + | |
2278 | 2278 |
| |
2279 | 2279 |
| |
2280 | 2280 |
| |
2281 | 2281 |
| |
2282 | 2282 |
| |
2283 | 2283 |
| |
2284 |
| - | |
| 2284 | + | |
2285 | 2285 |
| |
2286 | 2286 |
| |
2287 | 2287 |
| |
2288 | 2288 |
| |
2289 | 2289 |
| |
2290 |
| - | |
2291 | 2290 |
| |
2292 |
| - | |
2293 |
| - | |
2294 |
| - | |
2295 | 2291 |
| |
2296 | 2292 |
| |
2297 | 2293 |
| |
|
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1501 | 1501 |
| |
1502 | 1502 |
| |
1503 | 1503 |
| |
1504 |
| - | |
| 1504 | + | |
1505 | 1505 |
| |
1506 | 1506 |
| |
1507 | 1507 |
| |
| |||
1522 | 1522 |
| |
1523 | 1523 |
| |
1524 | 1524 |
| |
1525 |
| - | |
| 1525 | + | |
1526 | 1526 |
| |
1527 | 1527 |
| |
1528 | 1528 |
| |
1529 | 1529 |
| |
1530 | 1530 |
| |
1531 | 1531 |
| |
1532 |
| - | |
| 1532 | + | |
| 1533 | + | |
1533 | 1534 |
| |
1534 |
| - | |
| 1535 | + | |
1535 | 1536 |
| |
1536 | 1537 |
| |
1537 | 1538 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
171 |
| - | |
| 170 | + | |
| 171 | + | |
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
|
0 commit comments
Comments
(0)