History log of /external/flatbuffers/python/flatbuffers/table.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3282a84e3068d2ff0ded5a683ceea0806da21ed6 01-Aug-2017 Kevin Rose <kevin+gh@maypark.com> [Python] (scalar) vector reading speedup via numpy (#4390)

* Add numpy accessor to python flatbuffers scalar vectors

* Update python tests to test numpy vector accessor

* Update appveyor CI to run Python tests, save generated code as artifact

* Update example generated python code

* Add numpy info to python usage docs

* Update test schema and python tests w/ multi-byte vector

* did not mean to push profiling code

* adding float64 numpy tests
/external/flatbuffers/python/flatbuffers/table.py
48dfc69ee613a176f13b04c2310adb7a08fe6737 16-Dec-2014 rw <me@rwinslow.com> Port FlatBuffers to Python.

Implement code generation and self-contained runtime library for Python.

The test suite verifies:
- Correctness of generated Python code by comparing output to that of
the other language ports.
- The exact bytes in the Builder buffer during many scenarios.
- Vtable deduplication correctness.
- Edge cases for table construction, via a fuzzer derived from the Go
implementation.
- All code is simultaneously valid in Python 2.6, 2.7, and 3.4.

The test suite includes benchmarks for:
- Building 'gold' data.
- Parsing 'gold' data.
- Deduplicating vtables.

All tests pass on this author's system for the following Python
implementations:
- CPython 2.6.7
- CPython 2.7.8
- CPython 3.4.2
- PyPy 2.5.0 (CPython 2.7.8 compatible)
/external/flatbuffers/python/flatbuffers/table.py