Description
I want to make a suggestion, hoping itโs useful. ๐
Iโve read this response about the maximum supported model size of 166,6 MB (JSON encoded).
The package elm-serialize
produces compressed JSON encoding.
There is a post on the Elm Discourse and it proved to be beneficial in elm-review
too:
elm-serialize produces a significantly compressed JSON output (or binary, but which proved to be less efficient at this time). Instead of {"expression": {"type": "Operator", "operator" : "+" } } it will be something like [0,[0,0,1,"+"]].
Overall, this reduces the total cache size from 40MB to 14MB in the large project I mentioned, and because there is less data to read from (and to write to) the slow file system, the total run time was reduced by about 15%!