mirror of
https://github.com/qemu/qemu.git
synced 2026-11-04 02:44:45 +00:00
5136a0526989fdfd8799ae4e29ff43d5b80ee37e
Profiling with callgrind seems to show that a lot of time is spent in the palette code (mostly due to memory allocation and qdict to int conversion). This patch adds a VncPalette implementation. The palette is stored in a hash table, like qdict, but which does way less memory allocations, and doesn't suffer from the QObject overhead. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Read the documentation in qemu-doc.html. Fabrice Bellard.
Description
Languages
C
83.4%
C++
6%
Python
3.5%
Dylan
2.7%
Shell
1.2%
Other
3%