docopt.cpp
docopt.cpp copied to clipboard
Should docopt::Options be an std::unordered_map?
Is the ordered nature of the options used?
Definietevely in run_testcase.cpp, but it could be changed, since performance of tests doesn't matter.
In retrospect maybe it should have been unordered_map but map was just chosen as default. I don't really see much benefit or issue either way -- I don't expect that most uses are going to have more than 10s of options, certainly not 10000s!