by fc417fc802 · 1y ago · 0 comments
Is there an option to leave something uninitialized? I often find the allocation of explicitly uninitialized objects to be a performance necessity in tight loops when I'm working with numpy.
x: int // initialized with its zero value
y: int = --- // uses uninitialized memory