Files
xserver_xsdl/Xext
Eamon Walsh d7c5e8bfc1 Modified performance patches from Arjan van de Ven <arjan@infradead.org>
Subject: [PATCH] fix some performance gaps in Xace

The XaceHook function is used in several hotpaths.
The problem with it (performance wise) is twofold:
 * The XaceHook function has a big switch() statement for the hook number in it
 * The XaceHook function uses varargs to reassemble the final dispatch arguments again

Both are expensive operations... for something that is known at compile time

This patch turns the hotpath XaceHook call into a direct call to avoid
the switch and varargs; this gives me over 10% performance gain
on the x11perf benchmark.
2007-11-06 16:26:09 -05:00
..
2007-06-29 14:06:52 -04:00
2007-09-04 22:39:14 +02:00
2007-11-05 14:34:46 +00:00
2007-11-05 14:34:46 +00:00
2007-11-05 14:34:46 +00:00
2007-06-29 14:06:52 -04:00
2007-11-05 14:34:46 +00:00
2007-06-29 14:06:52 -04:00
2007-11-05 14:34:46 +00:00
2003-11-14 15:54:54 +00:00
2007-11-05 14:34:46 +00:00
2007-11-04 16:11:28 -08:00
2007-08-24 14:02:35 +02:00
2007-11-05 14:34:46 +00:00
2007-06-29 14:06:52 -04:00
2007-03-25 17:57:22 -04:00
2007-11-05 14:34:46 +00:00
2007-11-05 14:34:46 +00:00
2007-06-29 14:06:52 -04:00