Skip to content

Commit 5cc1c9f

Browse files
chuckyvtjvdp1
andauthored
Update example/hashmaps/example_hashmaps_init.f90
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent f54132a commit 5cc1c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/hashmaps/example_hashmaps_init.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ program example_init
1818

1919
! User can optional specify hasher type and slots_bits instead of using default values.
2020
! Number of slots in the hashmap will initially equal 2**slots_bits.
21-
! The hashmap will autmoatically re-size as needed, however for better performance, a rule of thumb is to size so that number of slots is ~2X expected number of entries.
21+
! The hashmap will automatically re-size as needed; however for better performance, a rule of thumb is to size so that number of slots is ~2X expected number of entries.
2222
! In this example with slots_bits=10, there will initially be 1024 slots in the map.
2323
call map%init(hasher=fnv_1_hasher, slots_bits=10)
2424
call map%map_entry('key', 'value')

0 commit comments

Comments
 (0)