
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Improve speed performance of QString
while keeping the syntax readable as is.
e.g.
QStringTemp tmp( 4096 );
QString s = tmp + a + b + c + d;
OR
uint sz = a::length() + b::length() +
c::length() + d::length();
QStringTemp tmp( sz );
QString s = tmp + a + b + c + d;
Another way is to modify the
QString::operator+
to use QStringTemp implicitely.
Performance increase from few ms to 4x faster depending on the buffer size
and the size of each string.
See test cases screenshots
for various buffer size algorithms.
The Qt version of this code may be released under the GPL/QPL, if needed.
HOW TO INSTALL:
===============
To install, use this tarball to OVERWRITE your KDE 3.x CVS
qt-copy/ directory!
For more information:
=====================
Read the ./qt-copy/QStringTemp.README file
16 years ago
0.1: Initial version for VCL/AnsiString and VCL/WideString
0.2: Revised for MFC/CString
0.3: Revised for Qt2-Win32/QString
0.4: Revised for Qt2-Linux/QString
0.5: Added Makefile
1.0: Official release for Qt-2.2.3
1.3: Official release for KDE 3.x CVS
16 years ago
0.1: Initial version for VCL/AnsiString and VCL/WideString
0.2: Revised for MFC/CString
0.3: Revised for Qt2-Win32/QString
0.4: Revised for Qt2-Linux/QString
0.5: Added Makefile
1.0: Official release for Qt-2.2.3
1.3: Official release for KDE 3.x CVS
informix
15 years ago
Report
haimeltjnfg
16 years ago
Report
Superstoned
16 years ago
Report
fprog26
16 years ago
===========
http://lists.kde.org/?l=kde-devel&m=108258610631883&w=2
http://lists.kde.org/?l=kde-optimize&m=108270977426938&w=2
http://kde-apps.org/content/show.php?content=12158
Report