4 ms·
Yep, that's correct. I wish "thing.Length - 1" were as clear as "0", but it's not. Besides, if you really cared about efficiency, you wouldn't be using growabl
by palish 15y ago
Yep, that's correct. I wish "thing.Length - 1" were as clear as "0", but it's not.
Besides, if you really cared about efficiency, you wouldn't be using growable containers... =)
- bad_user 15y agoThere's usually a Remove() with no arguments that depending on the data-structure involved will remove from either the beginning or the end (depending on how it is more efficient for said data structure).