• Ben Harper's avatar
    Add CreateByteVector function to Go's builder · 6a012634
    Ben Harper authored
    This function gets around the inefficiency of populating a [ubyte] vector
    byte by byte. Since ubyte vectors are probably the most commonly used type
    of generic byte buffer, this seems like a worthwhile thing to create a
    fast path for.
    
    Benchmarks show a 6x improvement in throughput on x64.
    
    There is a new test verifying the functionality of the function.
    
    Change-Id: I82e0228ae0f815dd7ea89bf168b8c1925f3ce0d7
    6a012634
Name
Last commit
Last update
CMake Loading commit data...
android Loading commit data...
build Loading commit data...
docs Loading commit data...
go Loading commit data...
include/flatbuffers Loading commit data...
java Loading commit data...
net/FlatBuffers Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
biicode.conf Loading commit data...
readme.md Loading commit data...