Commit 55d38c8
Deserialize each route once when loading the manifest (#17415)
deserializeManifest deserialized every route twice: once for the
returned routes array, and again onto the input object, which nothing
reads afterwards. Both callers pass a fresh manifest they never read
back, and the returned routes are separate copies, so dropping the
second pass does not change behavior.
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>1 parent 89e5349 commit 55d38c8
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
0 commit comments