alecthomas / alecthomas/importmagic
Symbol index caching
Ouverte
enhancement
question
- Langage dominant
- Python
- Étoiles
- 122
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.