comparison src/StaticDicts/StaticDicts.jl @ 854:ff9d738c9b21 operator_storage_array_of_table

Fix typos in doc.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 18 Jan 2022 22:09:55 +0100
parents 76e5682d0e52
children
comparison
equal deleted inserted replaced
853:fe8fe3f01162 854:ff9d738c9b21
8 A static dictionary implementing the interface for an `AbstractDict`. A 8 A static dictionary implementing the interface for an `AbstractDict`. A
9 `StaticDict` is fully immutable and after creation no changes can be made. 9 `StaticDict` is fully immutable and after creation no changes can be made.
10 10
11 The immutable nature means that `StaticDict` can be compared with `===`, in 11 The immutable nature means that `StaticDict` can be compared with `===`, in
12 constrast to regular `Dict` or `ImmutableDict` which can not. (See 12 constrast to regular `Dict` or `ImmutableDict` which can not. (See
13 <https://github.com/JuliaLang/julia/issues/4648> for details) One important 13 <https://github.com/JuliaLang/julia/issues/4648> for details.) One important
14 aspect of this is that `StaticDict` can be used in a struct while still 14 aspect of this is that `StaticDict` can be used in a struct while still
15 allowing the struct to be comared using the default implementation of `==` for 15 allowing the struct to be compared using the default implementation of `==` for
16 structs. 16 structs.
17 17
18 Lookups are done by linear search. 18 Lookups are done by linear search.
19 19
20 Duplicate keys are not allowed and an error will be thrown if they are passed 20 Duplicate keys are not allowed and an error will be thrown if they are passed