alecthomas / alecthomas/importmagic

Symbol index caching

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Python
Stars
122
Forks
21
PR merge metrics
No merged PRs in 30d

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.