JuliaRheology / RHEOS.jl

RHEOS - Open Source Rheology data analysis software
MIT License
39 stars 9 forks source link

test @inline for cost functions for speed improvements #90

Closed moustachio-belvedere closed 3 years ago

moustachio-belvedere commented 4 years ago

Adding @inline compiler hints to the Boltzmann integration functions, which in turn are called by the cost functions sent to NLOpt.jl, may give us a little speedup for little work. Will investigate over the next week or two.

moustachio-belvedere commented 3 years ago

Tested using non-singular, constant sample rate data, @inline gave no improvement. Julia compiler probably smart enough to optimise where appropriate anyway. Closing for now.