From a14de10e282115e7afede51f7a2fa59825fc17f9 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Sat, 16 Mar 2024 11:13:14 -0400 Subject: [PATCH] Use `std::unordered_map` for charmaps --- src/asm/charmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asm/charmap.cpp b/src/asm/charmap.cpp index 2dea7aef..ec2d08d4 100644 --- a/src/asm/charmap.cpp +++ b/src/asm/charmap.cpp @@ -3,12 +3,12 @@ #include "asm/charmap.hpp" #include -#include #include #include #include #include #include +#include #include "util.hpp" @@ -31,7 +31,7 @@ struct Charmap { std::vector nodes; // first node is reserved for the root node }; -static std::map charmaps; +static std::unordered_map charmaps; static Charmap *currentCharmap; std::stack charmapStack;