switched to GCC's always_inline attribute where it's needed. Should help with -Os