mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
bfdf2dd8bf
- the code kept an array of IDs, and would check new entries against the values of this array - this algorithm is O(n^2) and became quite slow when the site had a lot of redirects - we can do away with this entirely, and just compute the keys of the redirects to get the IDs - this speeds up loading redirects by 3x or so |
||
---|---|---|
.. | ||
.eslintrc.js | ||
DynamicRedirectManager.test.js |