Defining a large list inline causes Mojo to compile extremely slowly, while the equivalent Python code executes instantly.
Both var and comptime approaches exhibit this issue:
fn main():
var PROGRAM = [0x0, 0x0, 0x0, …] # ~10k elements
for byte in PROGRAM:
print(byte, end=" ")
Godbolt link: Compiler Explorer