Save space on CLI table #11140
daleckystepan
started this conversation in
Ideas
Replies: 1 comment
-
Can you take a look @ledvinap? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
clivalue_t valueTable
hasuint16_t offset
member. It may be possible to change it touint8_t offset
if we are sure that no offset is bigger than 255 bytes. We can save more than 700B.But I am unable to figure out a macro which check it during compile time using static_assert. Idea was to replace
offsetof
with new macro which check that theoffsetof
returns less than 255.Original
I would like to incorporate
Any idea? Thank you
Beta Was this translation helpful? Give feedback.
All reactions