@@ -770,8 +770,6 @@ performance on short keys.
770
770
As a result it should give fair performance for typical hash map
771
771
applications.
772
772
This code passes the SMHasher tests.
773
- As a result it should give good performance for typical hash map
774
- applications.
775
773
776
774
777
775
##### Example
@@ -834,8 +832,6 @@ performance on short keys.
834
832
As a result it should give fair performance for typical hash map
835
833
applications.
836
834
This code passes the SMHasher tests.
837
- As a result it should give good performance for typical hash map
838
- applications.
839
835
840
836
##### Example
841
837
@@ -897,8 +893,6 @@ on short keys.
897
893
As a result it should give reasonable performance for typical hash
898
894
table applications.
899
895
This code passes the SMHasher tests.
900
- As a result it should give good performance for typical hash map
901
- applications.
902
896
903
897
904
898
##### Example
@@ -988,7 +982,7 @@ separate chaining hashing. The derived type is
988
982
procedures to manipulate the structure of the hash map:
989
983
` init ` , ` map_entry ` , ` rehash ` , ` remove_entry ` , and
990
984
` set_other_data ` . It provides procedures to inquire about entries in
991
- the hash map: ` get_other_data ` , ` in_map ` , ` unmap ` . and ` valid_index ` .
985
+ the hash map: ` get_other_data ` , ` in_map ` , ` unmap ` and ` valid_index ` .
992
986
Finally it provides procedures to inquire about the overall
993
987
structure and performance of the table:` calls ` , ` entries ` ,
994
988
` get_other_data ` , ` loading ` , ` slots ` , and ` total_depth ` . The module
@@ -1001,7 +995,7 @@ also defines a number of public constants: `inmap_probe_factor`,
1001
995
1002
996
The module defines several categories of public constants. Some are
1003
997
used to parameterize the empirical slot expansion code. Others
1004
- parameterize the slots table size, Some are used to define
998
+ parameterize the slots table size. Some are used to define
1005
999
integer kind values for different applications. Finally, some are used
1006
1000
to report errors or success.
1007
1001
@@ -1039,7 +1033,7 @@ entities of kind `int_probes`. Currently `int_probes` has the value of
1039
1033
1040
1034
Finally the error codes ` success ` , ` alloc_fault ` , and
1041
1035
` array_size_error ` are used to report the error status of certain
1042
- procedure calla . The ` succes ` code indicates that no problems were
1036
+ procedure calls . The ` succes ` code indicates that no problems were
1043
1037
found. The ` alloc_fault ` code indicates that a memory allocation
1044
1038
failed. Finally the ` array_size_error ` indicates that on table
1045
1039
creation ` slots_bits ` is less than ` default_bits ` or
@@ -1075,7 +1069,7 @@ Currently the `int_hash` and `int_index` have the value of `int32`.
1075
1069
1076
1070
#### The ` chaining_map_entry_ptr ` derived type
1077
1071
1078
- The type ` chaining_map_entry_ptr ` are used to define the elements of
1072
+ The type ` chaining_map_entry_ptr ` is used to define the elements of
1079
1073
the hash map that are either empty or link to the linked lists
1080
1074
containing the elements of the table. The type's definition is below:
1081
1075
@@ -1094,7 +1088,7 @@ costs. The type's definition is below:
1094
1088
1095
1089
``` fortran
1096
1090
type :: chaining_map_entry_pool
1097
- ! Type inplementing a pool of allocated
1091
+ ! Type implementing a pool of allocated
1098
1092
! `chaining_map_entry_type` objects
1099
1093
private
1100
1094
! Index of next bucket
@@ -1543,7 +1537,7 @@ The result will be a default real.
1543
1537
##### Result value
1544
1538
1545
1539
The result will be the ratio of the number of entries relative to the
1546
- number of slots in the hash map.?
1540
+ number of slots in the hash map.
1547
1541
1548
1542
##### Example
1549
1543
@@ -2068,7 +2062,7 @@ linear open addressing hashing. The derived type is
2068
2062
procedures to manipulate the structure of the hash map:
2069
2063
` init ` , ` map_entry ` , ` rehash ` , and ` set_other_data ` . It
2070
2064
provides procedures to inquire about entries in the hash map:
2071
- ` get_other_data ` , ` in_map ` , ` unmap ` . and ` valid_index ` . Finally it
2065
+ ` get_other_data ` , ` in_map ` , ` unmap ` and ` valid_index ` . Finally it
2072
2066
provides procedures to inquire about the overall structure and
2073
2067
performance of the table:` calls ` , ` entries ` , ` get_other_data ` ,
2074
2068
` loading ` , ` relative_loading ` , ` slots ` , and ` total_depth ` . The module
@@ -2081,7 +2075,7 @@ also defines a number of public constants: `inmap_probe_factor`,
2081
2075
2082
2076
The module defines several categories of public constants. Some are
2083
2077
used to parameterize the empirical slot expansion code. Others
2084
- parameterize the slots table size, Some are used to define
2078
+ parameterize the slots table size. Some are used to define
2085
2079
integer kind values for different applications. Finally, some are used
2086
2080
to report errors or success.
2087
2081
@@ -2128,7 +2122,7 @@ entities of kind `int_probes`. Currently `int_probes` has the value of
2128
2122
2129
2123
Finally the error codes ` success ` , ` alloc_fault ` , and
2130
2124
` array_size_error ` are used to report the error status of certain
2131
- procedure calla . The ` succes ` code indicates that no problems were
2125
+ procedure calls . The ` succes ` code indicates that no problems were
2132
2126
found. The ` alloc_fault ` code indicates that a memory allocation
2133
2127
failed. The ` array_size_error ` indicates that on table
2134
2128
creation ` slots_bits ` is less than ` default_bits ` or
@@ -2161,7 +2155,7 @@ Currently `int_hash` and `int_index` have the value of `int32`.
2161
2155
2162
2156
#### The ` open_map_entry_ptr ` derived type
2163
2157
2164
- The type ` open_map_entry_ptr ` are used to define the elements of
2158
+ The type ` open_map_entry_ptr ` is used to define the elements of
2165
2159
the hash map that are either empty or link to the linked lists
2166
2160
containing the elements of the table. The type's definition is below:
2167
2161
@@ -2319,7 +2313,7 @@ The result will be the number of procedure calls on the hash map.
2319
2313
type(open_hashmap_type) :: map
2320
2314
type(int_calls) :: initial_calls
2321
2315
call init( map, fnv_1_hasher )
2322
- initisl_calls = calls (map)
2316
+ initial_calls = calls (map)
2323
2317
print *, "INITIAL_CALLS = ", initial_calls
2324
2318
end program demo_calls
2325
2319
```
@@ -2610,7 +2604,7 @@ The result will be a default real.
2610
2604
##### Result value
2611
2605
2612
2606
The result will be the ratio of the number of entries relative to the
2613
- number of slots in the hash map.?
2607
+ number of slots in the hash map.
2614
2608
2615
2609
##### Example
2616
2610
0 commit comments