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

    • Sub-task
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b3
    • 3.2.0-a1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: