Closed theogf closed 8 months ago
The name is misleading :smile: In fact, MOI is much more than an interface, and it is one of the largest Julia packages.
See https://julialang.org/blog/2021/08/general-survey/
That was in 2021. Now I get:
(base) oscar@Oscars-MBP MathOptInterface % cloc src
179 text files.
179 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.90 T=0.73 s (246.2 files/s, 121811.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Julia 177 9174 17241 60660
JSON 1 0 0 1281
Markdown 1 43 0 181
-------------------------------------------------------------------------------
SUM: 179 9217 17241 62122
-------------------------------------------------------------------------------
cc @blegat, why add MOI to Optim directly instead of a package extension?
Regardless. Closing this as won't fix. You could open an issue at Optim.jl about moving MathOptInterface to a package extension.
Yes, it could be moved as a package extension
Cool! I'll make a PR to Optim.jl then!
I noticed that when running
Most of the time was taken by MathOptInterface:
Additionally the precompilation takes a really long time. It surprising for a package that is supposed to be an interface?
This was run on Julia 1.9.3