alecthomas / alecthomas/importmagic
Symbol index caching
Offen
enhancement
question
- Vorherrschende Sprache
- Python
- Sterne
- 122
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Creating a symbol index of a well filled sys.path takes a long time. Caching would help, but raises questions.
- granularity: cache whole indices (serialization with metadata about index search path and indexed modules) or symbols of individual modules
- format: JSON is (somewhat) human readable, pickle is (probably, untested!) faster but unsafe (does it matter?)
- invalidation: go by size/mtime or content hash
- location: let the caller decide, or use a global location like `~/.cache/importmagic`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.