Answer the question
In order to leave comments, you need to log in
Which data structure is better in a particular case?
Which is more performant in CIL for FIFO implementation: Queue or a class that has a List listName and contains an Enqueue method whose implementation looks like this: listName.Insert( 0, listItem);
Answer the question
In order to leave comments, you need to log in
Well, Queue will be more reliable - a thoughtful, tested and time-tested class.
There must be a good reason to write your turn
Firstly, take it and conduct a test, if performance is so critical to you, guessing in such situations is useless.
Secondly, I am more than sure that Queue will be enough for your eyes and ears, and you are simply distracted by unimportant things.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question