• Kirill Unitsaev's avatar
    hyprland/manager: optimize config handling with caching · 661d0a49
    Kirill Unitsaev authored
    - Add SourceLine cache to avoid parsing all lines in GetModuleInfo
    - Add LoadedPluginsMap for O(1) plugin status lookup
    - Change GetModulesList to return []HyprModule to eliminate double iteration
    - Fix cache updates in SetVar, SetModule, removeLine
    - Remove space normalization in normalizeHyprlandLine
    661d0a49
manager.go 17.7 KB