キーと値の連想配列

Version 10 introduces fundamental new constructs called associations. They associate keys with values, allowing highly efficient lookup and updating, even with millions of elements. Associations provide generalizations of symbolically indexed lists, associative arrays, dictionaries, hashmaps, structs, and a variety of other powerful data structures.

  • キーと値のペアという形式でデータを保存する,一般的なデータ構造
  • 与えられたキーに対する値を高速で検索
  • 任意の多数要素にスケーラブル
  • キーと値の関連付けは必要に応じて追加,削除が可能
  • キーあるいは値に任意の式が使用可能
  • 簡単に要素にアクセスできる階層的データ構造を作成
  • 関数オブジェクトとしても離散関数としても利用可能
de en es pt-br zh