[vector] why 2-arrays are universal for scatter and gather

John Rose john.r.rose at oracle.com
Thu Aug 23 22:05:16 UTC 2018


One more point:  All of this can be built on top of a 2-D unsafe addressing mode, with two long vector offsets I, j instead of two int vector indexes. And it doesn’t need to be restricted to arrays in that case. We could build vectorized var-handle factories to do vectorized traversal of non-array or mixed graph structure. 


More information about the panama-dev mailing list