requesthandler: Use unordered_map for request table

Shaves like 0.0005ms off of request time, but still worth noting.
This commit is contained in:
tt2468
2021-12-31 14:19:19 -08:00
parent 02bcc0ac1b
commit e451a8d6b0
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
#include "RequestHandler.h"
const std::map<std::string, RequestMethodHandler> RequestHandler::_handlerMap
const std::unordered_map<std::string, RequestMethodHandler> RequestHandler::_handlerMap
{
// General
{"GetVersion", &RequestHandler::GetVersion},