I think the static inline function will neither safe RAM nor ROM. :)