Ghost/ghost/express-dynamic-redirects/lib
Daniel Lockyer bfdf2dd8bf Optimized loading dynamic redirects
- 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
2024-10-14 17:16:49 +02:00
..
DynamicRedirectManager.js Optimized loading dynamic redirects 2024-10-14 17:16:49 +02:00