Optional pretty-printing #640
Labels
performance
question
Indicates that an issue, pull request, or discussion needs more information
tools: compile-keymap
tools: dump
Currently we always pretty-print the keymap when serializing it, but it means more work to generate (computing paddings, human-friendly mask, etc.) and then more work to parse in the client.
We could make this optional:
The same could apply to Compose files.
Not related to pretty-printing, but we could also consider to (optionally) drop some bits that are not used in the keymap, e.g. key types and interprets. Indeed, they would not impact the behavior of the resulting keymap in the client, but could cut a bit the serializing/parsing time. We should probably keep all the keycodes though, even if not mapped.
Footnotes
Keep the newlines, we are no monsters ↩
The text was updated successfully, but these errors were encountered: