alecthomas / alecthomas/importmagic

Symbol index caching

オープン
#10 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。