[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-optimize
Subject:    Re: QCString construction
From:       Roger Larsson <roger.larsson () norran ! net>
Date:       2007-02-11 2:22:17
Message-ID: 200702110322.18146.roger.larsson () norran ! net
[Download RAW message or body]

On Sunday 11 February 2007 00:11, David Faure wrote:
> On Saturday 10 February 2007, Roger Larsson wrote:
> > Have you benchmarked that your Qt patch really is faster?
>
- - -
> Results:
> Initial operator+ took 956 milliseconds
> My operator+ took 731 milliseconds
>   (... still slow because QCString::operator+=( const char *str ) is
> called, which calls qstrlen(str), but I can't avoid that one; stupid
> qcstring doesn't store its own length.)
> Yet, it is a 23% speed improvement already.

Ouch!

/RogerL
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic