2 Comments
User's avatar
Yacob Cohen-Arazi's avatar

great trick! thanks for posting.

so is it because tuple is impl w/ inheritance and the compiler is using empty base class optimization?

Expand full comment
Taras Tsugrii's avatar

yep, you're absolutely correct :)

Expand full comment