On 2015-05-15 01:48, Alan Coopersmith wrote:
Speaking of which, something I've wondered about for a while, but never
had time to test, is if telling the server to optimize for valid requests
would make a difference, such as:
#define REQUEST_AT_LEAST_SIZE(req) \
-if ((sizeof(req) 2)
On 05/15/15 03:34 PM, Peter Harris wrote:
On 2015-05-15 01:48, Alan Coopersmith wrote:
Speaking of which, something I've wondered about for a while, but never
had time to test, is if telling the server to optimize for valid requests
would make a difference, such as:
#define
On 05/12/15 11:02 PM, Keith Packard wrote:
walter harms wha...@bfs.de writes:
Just for my curiosity .. is there any benchmark that shows that this
actually improves something
Yeah, I was measuring the new text code during development and saw some
(tiny) improvements -- it's got a ton of
walter harms wha...@bfs.de writes:
Just for my curiosity .. is there any benchmark that shows that this
actually improves something
Yeah, I was measuring the new text code during development and saw some
(tiny) improvements -- it's got a ton of branches in an inner loop
loading glyphs pointers
On Monday, May 11, 2015 09:23:53 PM Keith Packard wrote:
These two macros provide hints to the compiler about common code paths
to help it optimize a bit better.
Signed-off-by: Keith Packard kei...@keithp.com
---
include/misc.h | 8
1 file changed, 8 insertions(+)
diff --git
On Mon, May 11, 2015 at 21:23:53 -0700, Keith Packard wrote:
These two macros provide hints to the compiler about common code paths
to help it optimize a bit better.
Signed-off-by: Keith Packard kei...@keithp.com
---
include/misc.h | 8
1 file changed, 8 insertions(+)
diff
Just for my curiosity .. is there any benchmark that shows that this
actually improves something
re,
wh
Am 12.05.2015 06:23, schrieb Keith Packard:
These two macros provide hints to the compiler about common code paths
to help it optimize a bit better.
Signed-off-by: Keith Packard
Julien Cristau jcris...@debian.org writes:
X11/Xfuncproto.h defines _X_LIKELY and _X_UNLIKELY, are those not good
enough?
Yes, those will do just fine; I completely missed them.
--
-keith
signature.asc
Description: PGP signature
___
These two macros provide hints to the compiler about common code paths
to help it optimize a bit better.
Signed-off-by: Keith Packard kei...@keithp.com
---
include/misc.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/misc.h b/include/misc.h
index 9b1c03a..74889f5 100644
---