Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

C++ layer under objects #5

Open
jpivarski opened this issue Feb 28, 2019 · 0 comments
Open

C++ layer under objects #5

jpivarski opened this issue Feb 28, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jpivarski
Copy link
Member

This would replace the _fromflatbuffers pure-Python infrastructure with an extension module that uses C++ Flatbuffers generated code, bound to Python with pybind11. Objects made in Python and the _toflatbuffers methods would not be affected, but properties providing data from a buffer would not cache in Python, but deliver from the fast C++ every time.

Having a C++ layer would also open the door to fast adding (in "fast," "strict," and maybe even "adjust" modes). Not all functionality would be ported to the C++ layer, only those that would stand the most from this optimization.

The base C++ classes should be separately defined (header-only?), so that they can be reused in other C++ projects.

@jpivarski jpivarski self-assigned this Feb 28, 2019
@jpivarski jpivarski added the enhancement New feature or request label Feb 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant