Comment by deepsun
12 hours ago
Could probably overcome that by using integers, but converting them to a pointer after accessing (like '0'+1 is '1').
12 hours ago
Could probably overcome that by using integers, but converting them to a pointer after accessing (like '0'+1 is '1').
Do you mean storing the next index/offset and having the pointer value calculated as late as possible by adding the starting address (and maybe multiplying the index by sizeof)? That would probably defeat/mislead Intel's prefetcher, as described at https://www.intel.com/content/www/us/en/developer/articles/t...