[
https://issues.apache.org/jira/browse/MESOS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Mahler resolved MESOS-283.
-----------------------------------
Resolution: Won't Fix
We're going to rely on the protobuf library to change the implementation at
some point when considered stable, and we'll get it for free when we upgrade:
To quote the documentation:
There is also an experimental C++ implementation for Python messages via a
Python extension for better performance. Implementation type is controlled by
an environment variable PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION (valid values:
"cpp" and "python"). The default value is currently "python" but will be
changed to "cpp" in future release.
> Use cpp implementations for python protobufs.
> ---------------------------------------------
>
> Key: MESOS-283
> URL: https://issues.apache.org/jira/browse/MESOS-283
> Project: Mesos
> Issue Type: Task
> Affects Versions: 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0
> Reporter: Benjamin Mahler
> Assignee: Benjamin Mahler
>
> Thanks to Scott Smith for this one!
> We should be using PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp for our Python
> protos.
> Also, ideally, we should be using the pre-generated cpp implementations
> instead of the generic reflection based stuff. I'm not sure how to wire this
> particular part up, but some initial digging:
> http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/
> http://www.mail-archive.com/[email protected]/msg05572.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira