[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
Showing
- appveyor.yml 32 additions, 2 deletionsappveyor.yml
- docs/source/PythonUsage.md 27 additions, 0 deletionsdocs/source/PythonUsage.md
- python/flatbuffers/compat.py 36 additions, 1 deletionpython/flatbuffers/compat.py
- python/flatbuffers/encode.py 15 additions, 2 deletionspython/flatbuffers/encode.py
- python/flatbuffers/number_types.py 9 additions, 0 deletionspython/flatbuffers/number_types.py
- python/flatbuffers/table.py 12 additions, 0 deletionspython/flatbuffers/table.py
- src/idl_gen_python.cpp 33 additions, 0 deletionssrc/idl_gen_python.cpp
- tests/MyGame/Example/Monster.cs 15 additions, 1 deletiontests/MyGame/Example/Monster.cs
- tests/MyGame/Example/Monster.go 47 additions, 1 deletiontests/MyGame/Example/Monster.go
- tests/MyGame/Example/Monster.java 15 additions, 1 deletiontests/MyGame/Example/Monster.java
- tests/MyGame/Example/Monster.php 111 additions, 3 deletionstests/MyGame/Example/Monster.php
- tests/MyGame/Example/Monster.py 77 additions, 1 deletiontests/MyGame/Example/Monster.py
- tests/monster_test.bfbs 0 additions, 0 deletionstests/monster_test.bfbs
- tests/monster_test.fbs 2 additions, 0 deletionstests/monster_test.fbs
- tests/monster_test.schema.json 3 additions, 1 deletiontests/monster_test.schema.json
- tests/monster_test_generated.h 56 additions, 16 deletionstests/monster_test_generated.h
- tests/monster_test_generated.js 101 additions, 1 deletiontests/monster_test_generated.js
- tests/monsterdata_python_wire.mon 0 additions, 0 deletionstests/monsterdata_python_wire.mon
- tests/monsterdata_test.json 12 additions, 0 deletionstests/monsterdata_test.json
- tests/monsterdata_test.mon 0 additions, 0 deletionstests/monsterdata_test.mon
Loading
Please register or sign in to comment