Anthony Liguori 035873283b qom: aggressively optimize qom casting
This patch adds a small typename cache to ObjectClass.  This allows
caching positive casts within each ObjectClass.  Benchmarking a
PPC workload provided by Aurelien, this patch eliminates every
single g_hash_table_lookup() happening during the benchmark (which
was about 2 million per-second).

With this patch applied, I get exactly the same performance (within
the margin of error) as with --disable-qom-cast-debug.

N.B. it's safe to cache typenames only from the _assert() macros
because they are always called with string literals.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-13 15:27:18 -05:00
2013-05-12 13:25:55 +04:00
2013-05-03 12:04:49 -05:00
2013-04-18 13:50:53 +02:00
2013-05-12 13:25:55 +04:00
2012-12-19 08:29:06 +01:00
2013-05-03 13:53:46 +02:00
2013-05-08 15:28:49 +02:00
2013-05-12 13:25:55 +04:00
2013-05-06 17:22:48 +02:00
2013-05-03 13:58:09 +02:00
2013-04-08 18:13:10 +02:00
2013-05-08 20:23:20 +02:00
2013-04-08 18:13:10 +02:00
2013-05-03 13:58:09 +02:00
2012-09-07 09:02:44 +03:00
2013-04-26 20:18:24 +02:00
2013-04-18 13:50:53 +02:00
2013-02-21 16:17:31 -06:00
2013-04-22 11:31:41 -05:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-05-01 13:04:18 +02:00
2013-04-29 12:16:36 -05:00
2013-02-21 16:17:31 -06:00
2013-05-03 13:58:09 +02:00
2011-12-09 11:25:22 +00:00
2013-05-03 12:04:40 -05:00
2013-05-03 13:05:49 +02:00
2013-03-11 13:32:03 +01:00
2013-02-22 21:21:10 +01:00
2013-05-03 12:04:57 -05:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-05-13 09:52:06 -05:00
2013-05-08 15:54:47 -05:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%