Updated: Comment #0
Problem/Motivation
In #1862202-341: Objectify the language system the following argument was raised:
[
PathProcessorLanguage
] This looks like a lot of runtime overhead in the critical path?
Can we find a way to prepare this information ahead of time; e.g., in a new Container CompilerPass? [...]
That said, the dependent code in this class is manually probing whether $processors[$type] is set already, which could be inlined (once) into the initProcessors() method.
[...]
Paths/URLs definitely depend on the current (sub-)request [think ESI], so any kind of static cache can very easily not be a given and not reliable/performant anymore.
Proposed resolution
TBD
Remaining tasks
User interface changes
TBD
API changes
TBD
Comments
Comment #1
plachFrom #1862202-349: Objectify the language system
Comment #2
plachComment #3
plach