On Wednesday 11 October 2006 9:29, Michel Hermier wrote:
> For me the bench is wrong, since the method signatures are not comparable.
> And I find it normal that it's more harder to parse the second one
> since there are more needed spaces and characters.
> Do you have results with the same signatures, but one with nominal,
> and the other with some extra spaces ?

from the documentation on QMetaObject::normalizedSignature:

   Normalizes the signature of the given \a method.

    Qt uses normalized signatures to decide whether two given signals
    and slots are compatible. Normalization reduces whitespace to a
    minimum, moves 'const' to the front where appropriate, removes
    'const' from value types and replaces const references with
    values.

so "sig( const QString& )" becomes "sig(QString)"

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)

Attachment: pgpEvGMVUJB5w.pgp
Description: PGP signature

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to