Home
last modified time | relevance | path

Searched hist:"643 ea3a6eaa27d23e64c1e9e0bac118f6174594d" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/Parsing/Handler/
H A DTable.php643ea3a6eaa27d23e64c1e9e0bac118f6174594d Wed Feb 07 08:09:09 UTC 2024 Andreas Gohr <andi@splitbrain.org> fix overeager optimization in Table handler. fixes #4186

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.