Skip to content
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
@Chouby

Description

@Chouby

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 only strcmp() in Binary_Search. See Don't store plural forms in search handlers cache #8
  • Is it useful to store original strings in $this->originals in Hash_Search? This seems to be useful for about 10% of the strings of the default domain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions