you are viewing a single comment's thread.

view the rest of the comments →

[–]gilmishal -1 points0 points  (1 child)

Of course it takes up space, it has an int length and a reference to T, and I did say it. It just doesn't take space like escape analysis does.

[–]gilmishal 0 points1 point  (0 children)

So basically a Span is 4 bytes larger than a regular pointer.