@DaveVoyles Not C# specific, but different data structures have different algorithmic complexities for their operations.
-
-
-
@benkane I guess it really doesn't matter much unless you are drawing a TON on screen. (ie- object pooling for bullets in a shmup) - Show replies
New conversation -
-
-
@DaveVoyles depends. Resizing an array is expensive. For a stack it doesn't, since I think it uses pointers internally (unlike Dictionary) -
@kunikos Thank you. I looked into it a bit more, and for my purpose (object pooling for bullets), a stack works fine - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.