Move the run-length encoding under a feature#356
Conversation
|
Wouldn't it be better to add a new method that serializes without run-length encodings? Using features to enable or disable makes it impossible to choose this at runtime, which I see no real reason to not allow. |
|
Hey @lucascool12 👋 You are right, I think it would be better to have a Thanks for the help and have a nice day 🌵 |
That seems like the best approach. I'm not sure what the best way to make this struct backward compatible is. I first thought a normal struct with |
|
Is there a reason calling |
I propose introducing a new feature to disable run-length encoding in certain cases. It is enabled by default. I am wondering about the naming now, as I find
run-length-serializationa bit long and ugly.