Comment on FlatBuffers: a memory efficient serialization libraryparentComments−judk12yIME, optional fields are used for...optional fields. Like when you have a 50-field data object but only want to transmit 5 of those fields.−ahminus12yI think if you have a 50 field data object, and you have cases where you transmit only 5 of those fields, the problem is your data modelling, not the serialization library.−ssylvan12yI think you haven't worked on games. 99% of the fields in game objects are the defaults, with some minor customization (e.g. position).−ahminus12yGames are all I've worked on for over a decade. See my other comments.
Comments
IME, optional fields are used for...optional fields. Like when you have a 50-field data object but only want to transmit 5 of those fields.
I think if you have a 50 field data object, and you have cases where you transmit only 5 of those fields, the problem is your data modelling, not the serialization library.
I think you haven't worked on games. 99% of the fields in game objects are the defaults, with some minor customization (e.g. position).
Games are all I've worked on for over a decade. See my other comments.