Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Add cache to speedup searching process #43

Open
Seluj78 opened this issue Jan 29, 2021 · 1 comment
Open

Add cache to speedup searching process #43

Seluj78 opened this issue Jan 29, 2021 · 1 comment

Comments

@Seluj78
Copy link
Collaborator

Seluj78 commented Jan 29, 2021

No description provided.

@JulienPalard
Copy link
Collaborator

I don't think caching is the clean way to speed up pogrep. I'd better consider enhancing polib performance: On a test run pogrep -r string it took 22s to compute, 19s in polib.py.

18s are spent in polib.py:parse, parse itself calls process (spends 8s in it) and also uses re.search (spend 3s in it).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants