thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John R. Frank" <...@mit.edu>
Subject thrift compile to CPython objects?
Date Wed, 24 Apr 2013 11:25:44 GMT
Thrift Developers,

We have noticed that reading (deserializing) messages in python is ~100x 
slower than deserializing the exact same data in C++.  Is this expected? 
(I can provide examples, if useful.)

Is there a better compilation flag to use than py:new_style,slots

Seems like it would be possible/useful to compile directly to PyObject 
structures   http://docs.python.org/2/c-api/structures.html

Does this exist or has anyone looked into it?


jrf


Mime
View raw message