mediawiki-extensions-Secure.../includes
Umherirrender f49dab01a1 Improve performance of string operation on domain lookup
The benchLookup.php shows that the lookups take half the time as before,
without more memory

In the lookup use offsets instead of preg_replace to create the smaller
strings, also simplify the return

In the hook handler use str_starts_with to check start of string,
strpos needs to scan the whole string for a negative check,
but we need only need information about the begin

Bug: T316443
Change-Id: Ibc0cbe5f7f14bd56d4e126fa7ed183a807d9a99c
2022-08-27 19:35:03 +00:00
..
Hooks.php Improve performance of string operation on domain lookup 2022-08-27 19:35:03 +00:00
HSTSPreloadLookup.php Improve performance of string operation on domain lookup 2022-08-27 19:35:03 +00:00
ListFetcher.php Fetch list from GitHub 2021-11-24 21:56:13 +00:00
ServiceWiring.php Switch to new hook handler format 2022-06-05 12:12:39 -04:00