flatbuffers
flatbuffers copied to clipboard
Performance
A lot of flatbuffer code needs to check the length of the underlying byte array. We could implement a check() function which returns a Checked<T: Table>. This function would check the underlying buffer is large enough and return a type which can use unsafe methods to do faster lookups into the buffer i.e. slice::get_unchecked