Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11632 Speed up load_class()
  3. PHPBB3-12581

Use the proxy pattern for the template lexer

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Unverified Fix (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b3
    • Fix Version/s: 3.2.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      The lexer is needed only when we need to compile a new template.
      With the default Twig engine the Lexer is build the first time it is requested (in getLexer()).
      To have a similar behavior we need to implement the proxy pattern.

        Attachments

          Activity

            People

            Assignee:
            nicofuma nicofuma
            Reporter:
            nicofuma nicofuma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: