jmejia8 / Metaheuristics.jl

High-performance metaheuristics for optimization coded purely in Julia.
https://jmejia8.github.io/Metaheuristics.jl/stable/
Other
253 stars 27 forks source link

Fast time-to-first call methods using SnoopPrecompile #71

Closed jbytecode closed 1 year ago

jbytecode commented 1 year ago

Hi,

Do you have any plans to integrate the package with SnoopPrecompile?

It drastically reduces the time-to-first call methods.

Here is what I did for LinRegOutliers: https://github.com/jbytecode/LinRegOutliers/blob/master/src/precompile/precompile.jl

Best.

jmejia8 commented 1 year ago

What a nice recommendation! SnoopPrecompile could be integrated in the future.

This thread can be used to add a list of methods requiring this kind of performance improvement.

Thank you!

jbytecode commented 1 year ago

Its integration is quite easy. Ping me if you need any help! Thank you.

jmejia8 commented 1 year ago

Please, feel free to send PRs on this regard. Your contributions are always welcome.

jbytecode commented 1 year ago

of course, I'll try to implement a skeleton in a few days.

jbytecode commented 1 year ago

Here is the first PR: https://github.com/jmejia8/Metaheuristics.jl/pull/72

jmejia8 commented 1 year ago

Thank you for the PR. May I mark this issue as solved?

jbytecode commented 1 year ago

sure, thank you