mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 01:40:07 +03:00
Introduced an `_anime_database_index` global dictionary within `scraper_module/adapters/anizle.py`. It is dynamically populated by `load_anime_database()`. Refactored `get_anime_episodes` and `get_anime_details` to use `_anime_database_index.get(slug)` (O(1)) rather than a linear scan (O(N)) over `_anime_database`. This drastically improves query time from the cached database list. Also cleared leftover orphaned performance test scripts in the root directory. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>