[dokuwiki] New PR: fix overeager optimization in Table handler. fixes #4186

  • From: "splitbrain" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 7 Feb 2024 09:13:08 +0100 (CET)

Hi,

splitbrain opened a new pull request at 
https://github.com/dokuwiki/dokuwiki/pull/4188:

This reverts an optimization introduced in
bcaec9f47d06126b3e653fea89a86d8b6a6cbef8

The number of elements in $this->tableCalls may change during the loop, so they 
need to be recounted on every step. To protect it from being "optimized" again, 
the loop was changed into a while loop.

Ultimately it should be checked if this method could be optimized in another 
way.

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

b954f7e0-c590-11ee-8b52-2ffb0c472181


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: fix overeager optimization in Table handler. fixes #4186 - splitbrain