Yes. Here are some crude results.
Without an opt flag: 4m4.478s
With -O0
: 1m34.976s
That’s precisely what I want to achieve but I don’t know how or where to start from.
We use @inline
in our code but not extensively. Additionally, we usually use the macro for small functions. I will remove the inline macros and see if it will make a difference but I have my doubts.
We do have a lot of large tuples and nested tuples because we are interfacing with C code. However, I thought this issue was fixed in Julia 1.9. I posted about this issue a couple of years ago here. Julia 1.9 did indeed reduce our compilation time significantly but the compilation time still remains high as you can tell by the aforementioned reported times at the beginning of this reply.