News for hackers. Stuff that matters.
Re:How can List be faster than native arrays? (2018) by gjfytfh4256 on Sunday August 04, 2019 @03:30PM (#20608715)
That really strains credulity. What do you mean be dramatically better? Under what read and write access pattern? Do you have specific examples where your claim holds?
Re:How can List be faster than native arrays? (2018) by microcolonel on Monday August 05, 2019 @05:21PM (#20619115)
If your workload would normally involve regularly copying the vector, no matter what, then it is an easy win. Other factors which can make it worthwhile are access patterns where you have many similar or related vectors which you access at random (especially if you can make some effort to deduplicate those vectors).