mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-09 06:30:54 +00:00
[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
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
89a68942ac
commit
3282a84e30
@@ -19,6 +19,18 @@
|
||||
3,
|
||||
4
|
||||
],
|
||||
vector_of_longs: [
|
||||
1,
|
||||
100,
|
||||
10000,
|
||||
1000000,
|
||||
100000000
|
||||
],
|
||||
vector_of_doubles: [
|
||||
-1.7976931348623157e+308,
|
||||
0,
|
||||
1.7976931348623157e+308
|
||||
],
|
||||
test_type: Monster,
|
||||
test: {
|
||||
name: "Fred",
|
||||
|
||||
Reference in New Issue
Block a user