[php-src] PR #11914: Optimize checks in for DOMParentNode
| From: | nielsdos | Date: | Tue, 08 Aug 2023 19:25:44 +0000 |
| Subject: | [php-src] PR #11914: Optimize checks in for DOMParentNode | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23321@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11914
Author: nielsdos
If we check the list with dom_sanity_check_node_list_for_insertion() before dom_is_node_in_list(),
then we don't have to check the object type anymore in dom_is_node_in_list(), because
dom_sanity_check_node_list_for_insertion() will have already done that.