Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12892

S_NUM_ROWS does not scale

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.0-RC2
    • 3.1.0-RC3
    • Template Engine
    • None

    Description

      The S_NUM_ROWS for template loops does not scale very well.
      The creation/adjustment when adding a row requires n - 1 loops over a reference.
      So in the end it's n! (n factorial) which is really bad.

      This should be avoidable.

      Attachments

        Issue Links

          Activity

            People

              nickvergessen Joas Schilling [X] (Inactive)
              nickvergessen Joas Schilling [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: