On domingo, 17 de fevereiro de 2013 23.53.35, Mohsen Akhlaghi wrote:
> QString::arg() must have Escapes cached.
> 
> Currently it iterates with every call that doesn't seem too perfect. The
> better solution is to have the iteration once at the first call after the
> value change so further calls won't need to  iterate again.
> 
> Since the maximum number  of arguments for a single pass is 9, it's not
> actually enough in action and many calls to arg() with cached method would
> be the best. In this method the cache won't be filled before the first time
> arg() is called. So we won't have problems memory wise.

That would be ideal, but we don't have anywhere to store such information 
until we can break binary compatibility again.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to