MONC
Private Attributes | List of all members
collections_mod::hashmap_type Type Reference

A hashmap structure, the same as a map but uses hashing for greatly improved performance when storing large numbers of entries, with the lookup complexisty being almost constant (assuming good hash distribution.) Note that this does require more storage than a map and unlike a map does not preserve ordering. More...

Collaboration diagram for collections_mod::hashmap_type:
Collaboration graph
[legend]

Private Attributes

type(list_type), dimension(:), pointer, private map_ds => null()
 Underlying list data structure used to implement the map. More...
 
integer, private size =0
 

Detailed Description

A hashmap structure, the same as a map but uses hashing for greatly improved performance when storing large numbers of entries, with the lookup complexisty being almost constant (assuming good hash distribution.) Note that this does require more storage than a map and unlike a map does not preserve ordering.

Definition at line 94 of file collections.F90.

Member Data Documentation

◆ map_ds

type(list_type), dimension(:), pointer, private collections_mod::hashmap_type::map_ds => null()
private

Underlying list data structure used to implement the map.

Definition at line 96 of file collections.F90.

96  type(list_type), pointer, dimension(:), private :: map_ds => null()

◆ size

integer, private collections_mod::hashmap_type::size =0
private

Definition at line 97 of file collections.F90.

97  integer, private :: size=0

The documentation for this type was generated from the following file: