packBytes icon indicating copy to clipboard operation
packBytes copied to clipboard

Add genSchema(data)

Open e3dio opened this issue 2 years ago • 0 comments

Add optional genSchema(data) function to auto-generate a schema for a specific dataset. Because it only applies to that set it can optimize to make the smallest possible encoding for that set. Useful to quickly generate schema without manual design, or for large datasets where schema size is small relative to size of data, or for changing or unknown datasets. Not useful for when schema can be designed in advance so schema is not needed to be sent with each dataset, when schema size is large relative to dataset

e3dio avatar May 07 '23 15:05 e3dio