I’m hacking around, trying to support Elixir as a target for m2cgen.
To be able to merge the support for Elixir on m2cgen, the test suite needs to pass and execute in a reasonable amount of time.
So far, with the help of @josevalim I was able to optimize the tree-based models well enough that they’re no longer a problem for running the test suite.
However, SVM-Like models are too slow to compile.
Here there are 4 examples of the same model, exported with varying max line-lengths for the sub-expressions.
Varying the max length of the lines made no difference in compilation times, but the super_small version makes it easier to read and understand what the code is doing.
In the end, I need help figuring out if there’s a way to generate better code for these expressions, in order to make compilation times faster.






















