mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 11:16:01 +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 |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json |