Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize chars in natural integer numbers with HEX values (special sign upper "I" letter for hexadecimals instead of lower "i" letter for integer) #21

Open
bieli opened this issue Jan 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bieli
Copy link
Owner

bieli commented Jan 11, 2024

Example of generic IoText data protocol row:

t|3900267526042,d|meter_01,m|distance_mm=i:12345

after DEC to HEX conversion, we have -1 byte per one record (data field) in this example

t|3900267526042,d|meter_01,m|distance_mm=I:3039

For this operation it will be good to use instead of a lower i letter in the record, an upper case I letter - it will be an identifier for HEX integer values.

It will be an important aspect for values as bytes optimization when we have _0 or _00 data records in one row. We will have _0 or _00 less bytes in one row, which is not too bad.

@bieli bieli added the enhancement New feature or request label Jan 11, 2024
@bieli
Copy link
Owner Author

bieli commented Apr 3, 2024

"I" upper letter is reserved for this feature #24 - list of values in one metric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant