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

List:       kde-core-devel
Subject:    Re: inefficient QString coding practice
From:       Dominique Devriese <dominique.devriese () student ! kuleuven ! ac ! be>
Date:       2004-03-14 15:17:44
Message-ID: 87smgbo3tz.fsf () student ! kuleuven ! ac ! be
[Download RAW message or body]

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.

cheers
domi
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic