heitzmann/gdstk

Memory allocation using regular repetitions.

arondahl opened this issue · 3 comments

Hi,

I noticed there is a large disparity of memory use, when generating reference repetitions using perpendicular v1&v2 vectors in gdstk.Repetition() versus using vectors, which are not perpendicular. I was wondering why this is and also whether there is a work around?

Best,
Aron Dahlberg

Are you talking about runtime memory usage or the size of the resulting GDSII file? Both are expected to be larger in the non-orthogonal case, but the largest difference will be in the saved file, because the GDSII format does not support this type of array.

Hi, I was talking about the size of resulting GDSII file.

Yes, in that case you have to use the OASIS format to see any gain.