_load_type_index() now caches the parsed dict at module level and only re-reads type-index.txt when its mtime changes. This avoids a file read and parse on every get_class_overview / get_member call. The cache is automatically invalidated if the docs are regenerated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7.4 KiB
7.4 KiB