M
M
Maxim Kovalev2014-04-29 12:36:02
Python
Maxim Kovalev, 2014-04-29 12:36:02

How can I speed up Protobuf in Python?

Hello. Tell me, maybe someone knows how to speed up Protobuf in Python?
According to all measurements, the message conversion functions (SerializeToString and ParseFromString) turned out to be the slowest ones. They take 10-20 times longer than the rest of the code.
It is noticed that in GO this all happens almost 100 times faster. But there is no point in rewriting all the code on GO, there is too much of it.
Tell me how to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Abramov, 2014-04-29
@kai_zer_ru

What Google gives by default is slow to horror. Met a mention of the C implementation. yz.mit.edu/wp/fast-native-c-protocol-buffers-from-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question