jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
510 stars 51 forks source link

FlatBufferUnion should be a struct #169

Closed jamescourtney closed 3 years ago

jamescourtney commented 3 years ago

It only holds a pointer and a byte, and is immutable. No reason to pass by reference. This will be a modest breaking change.

Astn commented 3 years ago

This will be a great performance improvement when there is a vector 😃