Does the MakeCode compiler leave constants in Flash memory to save RAM?

What would the technique described in Best practice making levels with the new tilemap editor do with the levels in the array, would they end up in RAM?

I’ve been using a big if statement for level switching which that OP describes as inelegant but maybe I’ve minimised the amount of RAM usage (by luck)?