Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12892

S_NUM_ROWS does not scale

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC3
    • 3.1.0-RC2
    • Template Engine
    • None

      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.

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: