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

List:       kde-optimize
Subject:    Re: i18n
From:       Jordi <mumismo () wanadoo ! es>
Date:       2003-02-05 13:53:40
[Download RAW message or body]


> > As long as a previous thread in this list stated that QString is not the
> > most efficient thing in memory and CPU, why don't make i18n return a
> > QConstString instead of a QString? I think is a very used function all
> > over KDE.
> >
> > Maybe is needed that the .arg() will make the QConstString QString in
> > order to add it the data. But _lots_ of text of KDE don't have .arg() ,
> > so it will be a gain ,no?
>
>  So, why don't you try it? But given that .po texts are in utf8 AFAIK, and
> therefore need to converted anyway, I fail to see the advantage of using
> QConstString.

Why need to be converted ?
From qt manual:
The QConstString class provides string objects using constant Unicode data. 

--
Jordi Polo
Http://development.bluesock.net
_______________________________________________
Kde-optimize mailing list
Kde-optimize@mail.kde.org
http://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