[Kst] [PATCH] Make plugins faster

Andrew Walker arwalker at sumusltd.com
Fri Nov 5 20:21:04 CET 2004


As this is only a performance issue I would
recommend holding off until after the 1.0 release
and we can get more testing time on it.
Also, I would feel more comfortable if the
_inStrings and _outStrings are memset
immediately after they are allocated.

Andrew

-----Original Message-----
From: George Staikos [mailto:staikos at kde.org]
Sent: Friday, November 05, 2004 10:22 AM
To: kst at kde.org
Subject: [Kst] [PATCH] Make plugins faster



This patch makes plugins (not the ones called from equations, they already
have this fix) faster by not reallocating and freeing the arguments
unnecessarily.  It is of most use when plugins are called often.  We tested
on two machines here, and the effect wasn't huge, but that could be because
we had only one plugin running and lots of data and network traffic (remote
X).  It's hard to measure this anyway.  Should this go into CVS now?

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/




More information about the Kst mailing list