Fleet
0.0.9
Inference in the LOT
|
Many things in Fleet are stacks and this is designed to allow for rapid changse to the stack type in order to improve speed. std::stack appears to be slow. Using vector with some wrappers is faster. Also, vector is great because it allows us to reference the top. More...
Go to the source code of this file.
Classes | |
class | Stack< T > |
Functions | |
template<typename T > | |
std::string | str (const Stack< T > &a) |
Many things in Fleet are stacks and this is designed to allow for rapid changse to the stack type in order to improve speed. std::stack appears to be slow. Using vector with some wrappers is faster. Also, vector is great because it allows us to reference the top.
NOTE: We have tried reserving the intiial vector size and it doesn't seem to speed things up, nor does using a list
std::string str | ( | const Stack< T > & | a | ) |