Is there an efficient way to initalise a large array in CircuitPython? It's common to see it initialised with a list but I don't think there's any magic optimisations going on here judging by the size mentioned in the MemoryError and this temporary list is created in full:

Is there a better way to do that in Python / CircuitPython? It would be nice to be able to fill it with a specified value without allocating any memory for a same size data structure. ulab isn't an answer here as it's a CPX.