Optimisation : 1D arrays or 2D arrays for large number of blueprints ?

Hi everyone,

I am developing a city builder, and I have up to 5000 instances of Segment_BP blueprints (graph segment = road). For each Segment_BP I have two 2D arrays (let’s name them 2DArray1[i,j] and 2DArray2[k,l]).

With i <= 100 , j <= 200 , k <= 7 , l <= 100

2DArray1 is of type int and 2DArray2 is of type MyStruct (FVector, Fvector, float, bool)

Given the very large number of blueprints, is it advisable to use 1D arrays instead with separators (to separate the sub-arrays) that I have chosen wisely? Or for clarity I can still use these 2D arrays ?

Thanks

I don’t think it will make any difference.

As far as CPP goes, it certainly doesn’t, and I think blueprints are pretty close to BP in terms of array usage ( ie, there’s not much for the VM to do, moving between the two ).

I’d be interested to see what others have to say…