I don't know whether or not a vector of tuples would have very good performance characteristics relative to separate vectors for indices and values. Tuples will likely have better performance on 0.4-dev than on 0.3. You'll probably need to try to implement your code in such a way that changing the underlying data structure doesn't require you to change much of the code that uses it, and compare performance of different possible data structures on representative data.
On Tuesday, June 16, 2015 at 3:35:19 PM UTC-7, Jerzy Głowacki wrote: > > One last thing: isn't it even better to convert a dictionary to a vector > of tuples (Int64,String) using collect(Dict)? >
