alecthomas / alecthomas/importmagic
Symbol index caching
未关闭
enhancement
question
- 主要语言
- Python
- 星标
- 122
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
描述
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`
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。