is 2 minutes a little slow for Konqi to load?

ian reinhart geiser geiseri at yahoo.com
Thu Jun 6 17:17:35 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oh you are the magic man!
Starts up faster than before, almost instantly for the file manager!

I am testing this on IA32 now to make sure nothing broke
THANKS
- -ian reinhart geiser

On Thursday 06 June 2002 11:53 am, Harri Porten wrote:
> On Thu, 6 Jun 2002, ian reinhart geiser wrote:
> > 	Gdb has given me hints that the problem may be in QRegExp().  It just
> > sits in
>
> How do you retrieve this information from gdb ? Have you found an infinite
> loop or something ?
>
> > there from what i can tell.  It was called by XMLGuiclient find version
> > number.  I know QRegExp is slow, but now I am thinking this is an
> > endiness problem because someone told me this happens on OS X too, in
> > both X and native Qt.  I am WAY over my head in here so anyone willing to
> > help me please let me know.
>
> Does the attached patch help ?
>
> Harri.
>
> --- qtextstream.cpp     2002/04/26 20:55:41     1.42
> +++ qtextstream.cpp     2002/06/06 15:52:13
> @@ -1,5 +1,5 @@
> @@ -456,10 +456,7 @@ int QStringBuffer::getch()
>         setStatus( IO_ReadError );
>         return -1;
>      }
> -    QChar *ch = (QChar*)((ushort*)s->unicode() + ioIndex/2);
> -    int retval = (ioIndex&01) ? ch->row() : ch->cell();
> -    ioIndex++;
> -    return retval;
> +    return (int) *( (const char *) s->unicode() + ioIndex++ );
>  }
>
>  int QStringBuffer::putch( int ch )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8/4sfPy62TRm8dvgRAqc/AJ9J3OFTrYL0ozxWNmoHH6qVKFXY4ACgyJmB
/gIJV0tKuD6fI/gX87RJWzM=
=5skQ
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list