logoalt Hacker News

0c3ca83 • yesterday at 11:00 PM • 1 reply • view on HN

How about `x[i] = 7`? What if x is a vector of values that contain allocations?


Replies

jordan_bonecut • yesterday at 11:39 PM

I’m not quite sure I understand your question. But if x is a vector of things that contain allocations, the compiler will track a plane for them and represent them sparsely as needed be.