inefficient QString coding practice

Dominique Devriese dominique.devriese at
Sun Mar 14 15:17:44 GMT 2004

Adriaan de Groot writes:

> The original claim by Juergen was that bleh == "foo" incurs a
> considerable malloc / free and whatnot overhead and that it should
> be kept in mind. As long as there's no numbers attached, neither
> "doesn't really matter performance-wise" or "is important" can be
> evaluated.

I think we can be pretty sure that a low, constant number of extra
instructions, and a low, constant number of extra malloc/free's
multiplied by a very low, and also constant number of occurences of
this practice won't matter much in the bigger image.


More information about the kde-core-devel mailing list