Memory allocation using regular repetitions.
arondahl opened this issue · 3 comments
arondahl commented
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
heitzmann commented
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.
arondahl commented
Hi, I was talking about the size of resulting GDSII file.
heitzmann commented
Yes, in that case you have to use the OASIS format to see any gain.