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

Use the proxy pattern for the template lexer

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.0-a1
    • 3.1.0-b3
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: