[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

Thiago Macieira thiago.macieira at intel.com
Fri Jul 10 18:30:00 CEST 2015


On Friday 10 July 2015 13:26:47 Giuseppe D'Angelo wrote:
> 3) you kill caching, as potentially every single access will result in a 
> cache miss (even in the common scenario of a simple forward iteration 
> over your list);

Even if it isn't a cache miss now, it might become later as there will be more 
cachelines touched by the iteration. That means some older cachelines were 
evicted from L1, which means you'lll most likely get a cache miss elsewhere 
that could've been a cache hit.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list