What’s the support for keyword argument functions like?
Using @snoopi
created some statements like:
precompile(Tuple{PaddedMatrices.var"#mul_tn_quote##kw",NamedTuple{(:negative, :force_inline),Tuple{Bool,Bool}},typeof(PaddedMatrices.mul_tn_quote),Int64,Symbol,Int64,Type,Bool,Symbol,Symbol,Int64})
Which worked on the system/Julia version I called it with, but (obviously not) on Julia versions predating the var_str
macro, but IIRC I got a function-not-defined error on a different Julia version as well.
I’d have to double check tomorrow.
It reduced the compilation of a test function from 39 seconds to 37.5 seconds. I need to do a lot of work to get that better. Part of my problem is that I don’t have a real mental model for what takes time.
Obviously generated functions don’t help, since both the generated function and the function that is generated need to get compiled.
I also had lots of statements like:
precompile(Tuple{PaddedMatrices.var"##s115#407",Any,Any,Any})
Which did not produce errors when tested locally. But, I’m not sure where exactly they come from, or how likely they’re to work across Julia versions/builds, so I commented all of these out.
Should parcel have filtered these names out?