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

List:       kde-devel
Subject:    Re: 2KB code for ONE line?
From:       Johannes Sixt <Johannes.Sixt () telecom ! at>
Date:       1999-05-28 16:28:32
[Download RAW message or body]

On Thu, 27 May 1999, Mario Weilguni wrote:
>This line (in kconfig.cpp, ~line 150 and line 200) uses 2300 bytes of code on
>my system (egcs 1.1, -Os). Has anybody a clue why? It seems to be the KEntry
>constructor, but KEntry is defined as "struct", so this may be the problem.

But it has a QString member, so it implicitly has a constructor and a
destructor. Both of them are called before execution proceeds to the following
statement.

>
>aEntryMap.insert(groupKey, KEntry());
>
>Yes, I know 2.3kb is not too much, but maybe there is other stuff like this in
>the libraries.

-- Hannes

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

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