This class seems to be a performance bottleneck and is rather complex to read.

Let's see if we can improve things a bit.

Issue fork domain-3546232

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:

Comments

mably created an issue. See original summary.

mably’s picture

Added a static cache of already processed paths.

Improved outbound path processing time by 25-30% on a basic test page.

mably’s picture

Status: Active » Needs review

  • mably committed 59f5daeb on 3.x
    Issue #3546232 by mably: Improve DomainSourcePathProcessor class
    
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.