Skip to content
Snippets Groups Projects
  1. Apr 23, 2016
  2. Nov 12, 2015
    • rw's avatar
      Improve Builder user interface. · 2dfff15a
      rw authored
      + Add state to the Builder object to track if we are inside a table,
        and if we are finished building the buffer.
      + Use this data to check that a buffer is being built correctly.
      + Panic if a buffer is not being built correctly.
      + Test that the panics happen as expected.
      
      Based on d236dea1.
      2dfff15a
  3. Jun 24, 2015
    • rw's avatar
      Panic when nesting strings. Test panic scenarios. · 4d305f59
      rw authored
      Also add a new `insideObject` boolean to the Builder to track whether an
      object is currently being constructed. This fixes a bug with objects
      that have zero fields.
      4d305f59
  4. May 20, 2015
  5. May 09, 2015
  6. Apr 06, 2015
  7. Apr 03, 2015
  8. Apr 01, 2015
  9. Mar 12, 2015
    • 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
  10. Oct 29, 2014
  11. Sep 24, 2014
  12. Sep 05, 2014
  13. Jul 21, 2014
    • rw's avatar
      Port FlatBuffers to Go. · 74d5f370
      rw authored
      Implement code generation and runtime library for Go, derived from the
      Java implementation. Additionally, the test suite verifies:
      
       - the exact bytes in the Builder buffer during object construction,
       - vtable deduplication, and
       - table construction, via a fuzzer derived from the C++ implementation.
      
      Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
      74d5f370
Loading