pyswmm / Stormwater-Management-Model

PySWMM Stormwater Management Model repository
Other
99 stars 77 forks source link

solver/lid: Inline simple functions #360

Closed easyteacher closed 1 year ago

easyteacher commented 2 years ago

By declaring a function inline, we can direct GCC to make calls to that function faster.

See also: https://gcc.gnu.org/onlinedocs/gcc/Inline.html