keymanapp / keymanapp/keyman

feat(developer): Lexical model trie compiler could be more aggressive in its compression

Open
#1,856 2 comments 0 reactions 0 assignees View on GitHub
developer/ developer/compilers/ feat
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

The lexical model compiler generates a pretty verbose data structure with a lot of repetition in the output .js file. This could stand to be optimised!

Ideally, the debug build would output a formatted, verbose structure and the non-debug build would output a compressed format, replacing objects with arrays where possible, shortening member names, removing repetitive strings, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.