static inline optimizations + -O2
moar static inlines