[wp-trac] [WordPress Trac] #56541: Performance: Don't execute jumps in loops
WordPress Trac
noreply at wordpress.org
Fri Sep 9 15:57:40 UTC 2022
#56541: Performance: Don't execute jumps in loops
-------------------------+------------------------------
Reporter: Cybr | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-------------------------+------------------------------
Comment (by Cybr):
It caught my eye as I needed to study the code.
I found the second example as I tried to create a crude lookup "tool" for
it using regular expressions, but it doesn't work well in JS, plus it
yields many false positives in VSCode: https://regex101.com/r/nkZIUZ/2.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56541#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list