Is there a noticeable perf difference between using stack vs array in C#?
@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)
-
-
@DaveVoyles Probably, but it can depend on how you're using it. This link looks pretty good: http://www.introprogramming.info/english-intro-csharp-book/read-online/chapter-19-data-structures-and-algorithm-complexity/#_Toc362296555 … -
@DaveVoyles For instance, to get at a particular element in an array, just use myArray[i]. For a stack, you need to pop elements off. - 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.