commit | 640b525e830f84060f0d43923e4fffdb40d5676a | [log] [tgz] |
---|---|---|
author | xiaohaoliang <xiaohaoliang@outlook.com> | Sat Mar 04 01:40:43 2017 +0800 |
committer | Wouter van Oortmerssen <aardappel@gmail.com> | Fri Mar 03 09:40:43 2017 -0800 |
tree | 6d926286fd490ea7a28961052d012eb1df4b390f | |
parent | 0b379211dc68dfd0e3e2711bd06ad967c58c0707 [diff] |
optimization of FlatBufferBuilder::CreateVector() (#4198) optimization of FlatBufferBuilder::CreateVector() 1. optimization of FlatBufferBuilder::CreateVector() for "1 == sizeof(T)" ( such as [byte], [ubyte]). 2. For my project, it was about 10x improvement on flatbuffers serialization. 3. why not "string": "string, which may only hold UTF-8 or 7-bit ASCII. For other text encodings or general binary data use vectors ([byte] or [ubyte]) instead."