Hacker News new | ask | show | jobs
by swiftcoder 250 days ago
It should be more-or-less the same on typical implementations. You might have 3 pointers instead of 1 pointer and 2 lengths, or some mix thereof, but they are all equivalent in memory layout.