Closed justbuchanan closed 10 years ago
We're pushing and popping, might as well use a stack
I was going to do this for code clarity, but it turns out that std::stack doesn't have an iterator. This would mean I'd have to pop() each time which would be slower than just iterating over a list.
We're pushing and popping, might as well use a stack