EPISODE · May 8, 2026 · 11 MIN
Rust 026 HashMap - キーと値の対応表
from 聞き流しプログラミング言語学習 · host ますたーさん
第26章へようこそ。今日のテーマはHashMapです。前章で扱ったVecは、要素が連続して並んでいる構造でした。0番、1番、2番というインデックスで要素を取り出す。インデックスがあらかじめ整数として与えられているなら、即座に要素にアクセスできる。しかし扱いたい関係が「整数で並べたもの」ではない場合があります。ユーザー名と設定情報の対応、商品コードと在庫数の対応、英単語とその訳語の対応。キーになる側が文字列や任意の型で、そのキーに対応する値を引きたい。これを実現するのがHashMapです。今日はHashMapの内部構造、ハッシュ関数の役割、衝突の扱い、キーに要求される性質、操作の動作、イテレーション順序が保証されない理由を扱います。
Embed this episode
NOW PLAYING
Rust 026 HashMap - キーと値の対応表
0:00
11:39
1×
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.
Frequently Asked Questions
How long is this episode of 聞き流しプログラミング言語学習?
This episode is 11 minutes long.
When was this 聞き流しプログラミング言語学習 episode published?
This episode was published on May 8, 2026.
Can I download this 聞き流しプログラミング言語学習 episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!