This repository was archived by the owner on Jun 12, 2024. It is now read-only.
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
Investigate possible new performance improvements #4
Open
Description
This issue is a summary of ideas that could be implemented in the future if they are worth it.
- Take profit of object cache if present (this feature was included in WPPP). See Add object cache support #10
- Share the hash evaluation when looking for a string in multiple files of one domain (typically the default domain). This could be done by storing an array of already evaluated hash values in a static properties ( so shared across all instances of
Hash_Search
). - Don't store the plural forms in
$this->originals
and thus avoid testing the existence of plural forms to use onlystrcmp()
inBinary_Search
. See Don't store plural forms in search handlers cache #8 -
Is it useful to store original strings inThis seems to be useful for about 10% of the strings of the default domain.$this->originals
inHash_Search
?