All current implementations of java Virtual Machines allow the creation of one-dimensional arrays of length smaller than 2(31) elements. In addition, since java lacks true multidimensional arrays, most of numerical li...
详细信息
ISBN:
(纸本)9781467378130
All current implementations of java Virtual Machines allow the creation of one-dimensional arrays of length smaller than 2(31) elements. In addition, since java lacks true multidimensional arrays, most of numerical libraries use one-dimensional arrays to store multidimensional data. With the current limitation, it is not possible to store volumes of size larger than 1290(3). On the other hand, the data from scientific simulations or medical scanners continuously grow in size and it is not uncommon to go beyond that limit. This work addresses the problem of maximal size of one-dimensional java arrays. jLargeArrays is a java library of one-dimensional arrays that can store up to 2(63) elements. Performance comparison with native java arrays and Fastutil library shows that jLargeArrays is the fastest solution overall. Possible applications in java collections as well as numerical and visualization frameworks are also discussed.
暂无评论