2 ms·
But would that cause cache fails? Wouldn't that just increase the time needed to access data?
by colejohnson66 10y ago
But would that cause cache fails? Wouldn't that just increase the time needed to access data?
- acqq 10y agoFor really nice cache misses the arrays (explicit or implicit) are needed. Havng the allocations of the objects for calculations gives us chance for that too: we'd also need the different, crossed lifetimes of allocated objects, which can be done with "smart" pointers (the application I've mentioned used these too! That's why I've mentioned Boost).
- dottrap 10y agoSeems like virtual functions leave you more vulnerable to instruction cache misses. Large enough blocks of code combined with bad branch prediction can leave you all sorts of bad performance here.