bd808 added a comment. The `include` -> `call_user_func` -> `closure` pattern allows splitting up large files and keeping the global scope clean, but since both closures and `call_user_func` are bottlenecks for HHVM optimization it might be worth thinking about alternate implementations that use more readily optimized code.
TASK DETAIL https://phabricator.wikimedia.org/T85737 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: bd808 Cc: Aklapper, bd808, hoo, JeroenDeDauw, aude, Wikidata-bugs, GWicke _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
