Summary:
We change all uses of std::list to std::vector throughout minibmg. The books I've read recommond not using list unless you really need some of its APIs, which we do not. vector is faster and uses less memory.
I'm doing this now because I need it in another diff, and I want to keep each diff as simple as possible.
Summary: We change all uses of
std::list
tostd::vector
throughout minibmg. The books I've read recommond not usinglist
unless you really need some of its APIs, which we do not.vector
is faster and uses less memory.I'm doing this now because I need it in another diff, and I want to keep each diff as simple as possible.
Differential Revision: D40812419