mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Refactor recipe lookup logic to improve efficiency from O(n²) to O(n + m): - Build recipe_by_id dictionary for O(1) recipe ID lookups - Simplify persisted_by_path construction using recipe_id extraction - Add fallback lookup by recipe_id when path lookup fails - Maintain same functionality while reducing computational complexity