mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 06:42:28 +00:00
remove large buffer creation in test to speed it up
This commit is contained in:
@@ -23,7 +23,8 @@ void Offset64Test() {
|
|||||||
FlatBufferBuilder64 builder;
|
FlatBufferBuilder64 builder;
|
||||||
|
|
||||||
const size_t far_vector_size = 1LL << 2;
|
const size_t far_vector_size = 1LL << 2;
|
||||||
const size_t big_vector_size = 1LL << 31;
|
// Make a large number if wanting to test a real large buffer.
|
||||||
|
const size_t big_vector_size = 1LL << 2;
|
||||||
|
|
||||||
{
|
{
|
||||||
// First create the vectors that will be copied to the buffer.
|
// First create the vectors that will be copied to the buffer.
|
||||||
|
|||||||
Reference in New Issue
Block a user