You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The preg_match() in line 452 can be slow in PHP 7.4 (not in 8.1 afaict).
Sometimes it takes seconds to minutes to parse.
if (!preg_match('`^(/?)([a-z][^ >]*)([^>]*)>(.*)`sm', $t[$i], $m)) {
For some reason it struggles with a sequence of many short lines (100 lines, 10 characters each), followed by a sequence of very long lines (10 lines, 10k long each).
That sequence takes more than 1 minute to parse.
The text was updated successfully, but these errors were encountered:
The preg_match() in line 452 can be slow in PHP 7.4 (not in 8.1 afaict).
Sometimes it takes seconds to minutes to parse.
if (!preg_match('`^(/?)([a-z][^ >]*)([^>]*)>(.*)`sm', $t[$i], $m)) {
For some reason it struggles with a sequence of many short lines (100 lines, 10 characters each), followed by a sequence of very long lines (10 lines, 10k long each).
That sequence takes more than 1 minute to parse.
The text was updated successfully, but these errors were encountered: