perf(keymap): reduce bind parser CPU cost (#157)
* fix(keymap): reduce Hyprland bind ID CPU cost * perf(keymap): avoid bind hashing in all parsers
This commit is contained in:
@@ -14,7 +14,7 @@ end
|
||||
files[rootPath] = table.concat(rootLines, "\n")
|
||||
|
||||
local bindLines, bindDescriptions = {}, {}
|
||||
for index = 1, 60 do
|
||||
for index = 1, 120 do
|
||||
if index % 15 == 1 then
|
||||
bindLines[#bindLines + 1] = "-- " .. tostring(math.floor(index / 15) + 1) .. ". Group"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user