[wp-trac] [WordPress Trac] #50683: Parse content for shortcodes instead of using regex
WordPress Trac
noreply at wordpress.org
Sun Jul 19 22:05:13 UTC 2020
#50683: Parse content for shortcodes instead of using regex
--------------------------------------+---------------------
Reporter: cfinke | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.6
Component: Shortcodes | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by cfinke):
Good call; I'll do some testing with that setting as well.
I also realized that by commenting out the calls to `$this->debug()`, the
benchmark speed is improved to about 0.013 seconds. This puts the speed of
the new parsing code at about 40% of the current implementation rather
than 6%, which it was when I first tested them against each other.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50683#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list