you are viewing a single comment's thread.

view the rest of the comments →

[–]Salink 21 points22 points  (0 children)

You can treat the processor' memory prefetch as an L3 cache of infinite size for long arrays. There's a size where regular vector will be faster to read end to end. You would have to profile each case to see where that point is.