QStringTemp for KDE 3.x (CVS)

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

0
Score 50.0%
Description:

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
Last changelog:

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

14 years ago

is it in de 3.4 ? or kde 3.3 on debian/sarge ?

Report

haimeltjnfg

16 years ago

will this work with kde 3.2?

Report

Superstoned

16 years ago

to get this into KDE/QT??? I'm sure the trolltech ppl want a performance increase...

Report

C

fprog26

16 years ago

Some links:
===========

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

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

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Apr 24 2004
added Apr 23 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0