Problem/Motivation

Currently, on every page load, the list of protected paths is re-parsed and each protected path is checked against the path of the page being loaded.

Proposed resolution

Parse the protected paths once into an efficient data structure (hashmap for static paths, trie for wildcards), cache the datastructure, and check it on every page load.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3560612-slow-when-many Comparecompare
  • fast Comparecompare

Comments

lovasoa created an issue.