[Interest] 64 bit capable QVector

André Somers andre at familiesomers.nl
Tue Sep 3 16:23:08 CEST 2013


Op 3-9-2013 16:12, Michael Jackson schreef:
> I am curious as to what Qt class (if any) folks use for memory allocations larger then 2^31 elements? We write some software that analyzes large scientific data sets and I am trying to figure out if I should stick with std::vector in a few spots or go with something else. We have our own Array class for most of the codes but in a few places we just use a std::vector for convenience. If anyone has any thoughts that would be great to hear those.
>
> --
> Mike Jackson
> dream3d.bluequartz.net  (github.com/dream3d/DREAM3D)
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

I think you should not use vectors for such huge date structures in any 
case. It is not reasonable to expect that you can even allocate such 
huge continious blocks of memory I think. When handling so much data, I 
think you probably need custom data structures too.

André



More information about the Interest mailing list