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

S_NUM_ROWS does not scale

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC2
    • Fix Version/s: 3.1.0-RC3
    • Component/s: Template Engine
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: