[Binary] Reserve the correct size for the OffloadBinary
Summary: When writing the offload binary, we use a SmallVector. We already know the size that we expect the buffer to take up so we should reserve all that memory up-front to improve performance. Also this patch adds some extra sanity checks for the binary format for safety.
Loading
Please sign in to comment