Fixed in r66407

Dne 12.10.2011 14:08, Ladislav Slezak napsal(a):
> Dne 12.10.2011 13:43, [email protected] napsal(a):
>> +int SnapperAgent::getIntValue (const YCPMap &map, const YCPString &key, 
>> const int &deflt)
> 
> Const reference to int doesn't make much sense, const int is enough.
> 
> Size of int is 32bit on both i586/x86_64, but pointer to int (actually any 
> pointer),
> which is used for passing reference, is 64bit on x86_64. (And reference needs 
> a
> memory access while int can be stored directly in a CPU register - but it 
> depends on
> gcc optimizations I guess...)
> 
> 
> --
> 
> Ladislav Slezák
> Appliance department / YaST Developer
> Lihovarská 1060/12
> 190 00 Prague 9 / Czech Republic
> tel: +420 284 028 960
> [email protected]
> SUSE


-- 
--

Ladislav Slezák
Appliance department / YaST Developer
Lihovarská 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
[email protected]
SUSE
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to