Hi,

2013/11/4 KaShining <[email protected]>

> I use this method to enhance protobuf
> http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/


Don't.
With PyPy, protobuf are much faster with the pure-python version.
The C version is actually much slower on PyPy.

The Encode and Decode functions may look faster,
but accessing values or building a message in Python code will be much
slower.



>
> but after i gen the podpbpypy.so
> then import podpbpypy:
>
> Traceback (most recent call last):
> File "app_main.py", line 72, in run_toplevel
> File "t2.py", line 4, in <module>
> import podpbpypy
> ImportError: No module named podpbpypy
>
> _______________________________________________
> pypy-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to