[PATCH] [python] Optimize python_string_to_host_string() for Python 2.

Yichun Zhang (agentzh) agentzh@gmail.com
Sun Feb 22 18:01:00 GMT 2015


Hello!

On Tue, Jan 13, 2015 at 10:38 PM, Yichun Zhang (agentzh) wrote:
> With the following patch, my most complicated Python tools
> finally have comparable performance between Python 2 and
> Python 3. In the case of Python 2, some real-world Python scripts'
> overall speedup can be as big as 34% (for my "lgcpath" command [3])
> or even 57% (for my "lgcstat" command [4]). And from the new Flame
> Graph [5], we can see that the corresponding function frames are
> indeed gone.
>

ping

Regards,
-agentzh



More information about the Gdb-patches mailing list