Reputation: 55
I have to work with very large array (about 2000^3) of float, moreover, sometimes I have to route through array elements randomly, or by another non-sequential way.
I use stxxl library and store my data in stxxl::vector container. This library stores data on disk and operates with small portion of data in RAM. Because of random access to elements, it's necessary to read/write chunks of memory from disk very often, that slows down the working of program.
Is there anybody who know the way of operating with big data with random route through elements? Is it possible with stxxl?
Upvotes: 1
Views: 337
Reputation:
I would suggest you explore the stream package and the matrix container.
Upvotes: 0