Problem:
- Several items in strencodings.h/cpp are known at compile-time, but
are being computed at run-time due to not being labelled as
constexpr. - Several items in strencodings.h/cpp are marked
staticwhen they are meant to be locally scoped variables.
Solution:
- Mark items
constexprwhen they can be. - Remove
staticqualifier when possible so that variables which are meant to only be used locally are not bloating the final binary by residing in thedatasegment.