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.

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

Reply via email to