Commit 2ce0db4
committed
OPTION: map/hlua: make core.set_map() lookup more efficient
0844bed ("MEDIUM: map/acl: Improve pat_ref_set() efficiency (for
"set-map", "add-acl" action perfs)") improved lookup efficiency for
set-map http action, but the core.set_map() lua method which is built
on the same construct was overlooked. Let's also benefit from this optim
as it easily applies.1 parent 311dc74 commit 2ce0db4
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2279 | 2279 | | |
2280 | 2280 | | |
2281 | 2281 | | |
| 2282 | + | |
2282 | 2283 | | |
2283 | 2284 | | |
2284 | 2285 | | |
| |||
2291 | 2292 | | |
2292 | 2293 | | |
2293 | 2294 | | |
2294 | | - | |
2295 | | - | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
2296 | 2298 | | |
2297 | 2299 | | |
2298 | 2300 | | |
| |||
0 commit comments