How much memory uses an array with one high-index element?

Viewed 162

Would running this code occupy about 4_000_000 bytes of memory?

my uint32 @array;
@array[1_000_000] = 1;
1 Answers
Related