Hello,
I'm considering adding this optimization to kdelibs but
first I'd need more
testing for it, as it uses some kind of internal code of
Xlib and I have no
idea how it compiles/works on other platforms. Are there
still people using
KDE with some other X than X.org/XFree86? Could you please
try if kdelibs
with this patch compiles and works?
As for technical details, each XGetWindowProperty() call
for reading one X
property means one X server roundtrip, i.e. sending request
to X server and
waiting for an answer (and the context switches and possibly
transferring
over network and so on). The patch allows grouping of such
requests resulting
in only one roundtrip for the whole group. It doesn't
actually save as much
as I originally expected, but I guess it could be still
worth adding it, at
least for people running remote X (well, since I've already
written it
anyway).
Thanks
--
Lubos Lunak
KDE developer
------------------------------------------------------------
--
SUSE LINUX, s.r.o. e-mail: l.lunak suse.cz , l.lunak kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http//www.suse.cz
_______________________________________________
Kde-optimize mailing list
Kde-optimize kde.org
ht
tps://mail.kde.org/mailman/listinfo/kde-optimize
|