Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
キーと値のペアがあります(キーと値の両方が静的です)。キーは文字列で、値は整数です。値を見つけるために必要な文字列キーを取得します。以前は hashmap を使用していましたが、大きなエントリ セットがあると遅いです。文字列を整数にマップする超高速の方法はどれですか。