Re: [PATCH 1/2] Don't declare xcb_req as static

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xcb
Message-ID <[email protected]>
Adam Jackson <[email protected]> writes:

> Doing so forces the compiler to allocate storage for the symbol in
> .data, which means 24 bytes of dirty data and a relocation per request
> function.

Yeah, no way to make it actually constant as it has a pointer to the
xcb_extension_t.

Reviewed-by: Keith Packard <[email protected]>

-- 
-keith

_______________________________________________
Xcb mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xcb
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAllT40cACgkQ2yIaaQAA
ABEfQA/9E+0Df3dfJRaPqfnNGPjpqDTy5UymA4+P7sn293B9PqmmB6MPPtQ/RKGJ
8lUcxlFOGnvyQcnVdQZJ6WTPJN8Cu9RhnQxacxse3hdj4MKCl+sUKbz8HPntnG2L
Z8QHAZJZK22zvHi666zxVjw6aHuStZTslSCXtz0LDIp61NYBbQvgu3vpuPqqngxZ
BLF8ZlsJitCQzU6UxnrgEDLS9Fe2/Ps7ZXefZT328+7nOxGrOSB0wvd4u9JMyihR
SDN/j/yWTJYr7hEFUtS3YqtuznAbvl764tRsDbvr61+yHKmt9FgASitmo7hiNV46
FT6pyxZZVv61At270MOkzS83fherD6zuSQaHTt7AJGQwO2osXwpCEIw1TS+eJDZJ
UzgCP/3IqubRBecArI6iEOb6ClCcFcBQPUYwUbl3dQe+qLvVd95bwQv849LMmJfO
mCd2iZ9d1UmyOOjCxTEhYw507LZQps6swux4sHfw5QxG7HhDrayxlhkZkl6O8nHQ
U13k5ONfALyJsnuRuoGBV0TbOGtrXoqC0R0U21VNUcPKBxn77TDh4mn+tg5slWA7
wPLRwl2cc3eWVeKVybXh/3eQjplGFjjrETKKbJNp1yTzr8TR7Mp7FZxoXvXJks1G
m/NuVVM/+OUUmy8tEKmf2ga1HyEc8DggqBIHO79XlgDdWsQXWVc=
=GTDQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.