Add cache to speedup searching process #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Demande de Seluj78
Réponse de @mdk
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).