1. 04 Feb, 2015 4 commits
    • Wouter van Oortmerssen's avatar
      Clarified how to create a good pull request. · 1fb0f1ef
      Wouter van Oortmerssen authored
      Updated CONTRIBUTING.md with some tips.
      
      Change-Id: Id377621a98804293837fda25ef0758cf988eea37
      1fb0f1ef
    • Wouter van Oortmerssen's avatar
      Reset minimum alignment when reusing FlatBufferBuilder · 85f64786
      Wouter van Oortmerssen authored
      Previously, if you were re-using instances of FlatBufferBuilder
      and an earlier buffer would use a 64bit item where later ones
      do not, you could be wasting space.
      
      Change-Id: Ic8090a38f97ce73194e991ba72bcfae74a7ace9f
      Tested: on Linux.
      85f64786
    • Florian Enner's avatar
      added reuse option for root objects · b0910e75
      Florian Enner authored
      getRootAs..() function now has a second implementation that
      accepts an existing object to allow object reuse, much like
      all other methods that refer to objects.
      
      Change-Id: Iffef567c903a130761ef7de98867e5465d29a04d
      b0910e75
    • pjulien's avatar
      Issue #136 · 4d3db992
      pjulien authored
      The satellite data of the ``ByteBuffer`` cannot be modified in
      any way and stay thread safe in the presence of concurrent readers.
      
      This implementation is simple and does introduce an allocation, however
      without it multiple readers will quickly and continuously encounter
      ``IndexOutOfBoundsException`` exceptions.
      
      An alternative, but possibly more controversial, implementation would
      be to use ``Unsafe``.  Using ``Unsafe``, it's possible to do an
      array copy with a provided buffer index.
      
      Change-Id: I851d4034e753b3be2931ee2249ec2c82dde43135
      4d3db992
  2. 02 Feb, 2015 4 commits
  3. 28 Jan, 2015 1 commit
  4. 26 Jan, 2015 7 commits
  5. 21 Jan, 2015 1 commit
  6. 16 Jan, 2015 5 commits
  7. 08 Jan, 2015 1 commit
  8. 07 Jan, 2015 10 commits
  9. 06 Jan, 2015 1 commit
    • Jon Simantov's avatar
      C#: Allow ByteBuffer to use faster unsafe mode · 4390254e
      Jon Simantov authored
      If your C# runtime environment supports unsafe mode, you can use
      the #define UNSAFE_BYTEBUFFER setting and build the FlatBuffers assembly
      in unsafe mode for greatly increased performance.
      
      Tested: Tested FlatBuffersTest on Windows using VS2010 with both safe
      and unsafe versions. Added ByteBufferTest to test the byte reversing
      functions.
      
      Change-Id: I21334468b339334f9abf4317e6291b648b97f57b
      4390254e
  10. 09 Dec, 2014 6 commits