atomicobject / heatshrink

data compression library for embedded/real-time systems
ISC License
1.31k stars 176 forks source link

inlinung static functions #44

Closed fcapano closed 6 years ago

fcapano commented 7 years ago

Is there a rationale for not declaring static functions such as st_backref_index_msb to be __inline? It might be worth giving the extra hint to the compiler.

silentbicycle commented 7 years ago

It's already static and only called in one spot, so hopefully it can figure it out. inline is part of the C99 standard though, so it could be added.