Original Post
Hi!
I have a debug console in my XNA project, and I don't have a good idea how to efficiently process the implemented commands.
My first idea was the ol' good if-else if-else if. But then I got the List<...> idea, with the Find() function. Is there a better and "faster" way to do it?
I have a debug console in my XNA project, and I don't have a good idea how to efficiently process the implemented commands.
My first idea was the ol' good if-else if-else if. But then I got the List<...> idea, with the Find() function. Is there a better and "faster" way to do it?