stackoverflow.com stackoverflow.com

Is managing hierarchical data in linear memory bad architecture? [closed]

I wonder if managing hierarchical data in linear memory is bad architecture. The reason why I thought of this idea is, while each hierarchical data such as nodes must be updated in hierarchical order because each involves matrix multiplication, which is not commutative, I can use a set of updated data with a single memcpy if the set of updated data is linear. For example, // Linear memory outside SMatrix4x4f arrMatrices[1000]; int...