Mercurial > repos > public > sbplib_julia
diff src/StaticDicts/StaticDicts.jl @ 861:b1f65b98778d operator_storage_array_of_table
Merge review
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 19 Jan 2022 07:28:08 +0100 |
parents | ff9d738c9b21 |
children |
line wrap: on
line diff
--- a/src/StaticDicts/StaticDicts.jl Mon Jan 17 15:05:43 2022 +0100 +++ b/src/StaticDicts/StaticDicts.jl Wed Jan 19 07:28:08 2022 +0100 @@ -10,9 +10,9 @@ The immutable nature means that `StaticDict` can be compared with `===`, in constrast to regular `Dict` or `ImmutableDict` which can not. (See -<https://github.com/JuliaLang/julia/issues/4648> for details) One important +<https://github.com/JuliaLang/julia/issues/4648> for details.) One important aspect of this is that `StaticDict` can be used in a struct while still -allowing the struct to be comared using the default implementation of `==` for +allowing the struct to be compared using the default implementation of `==` for structs. Lookups are done by linear search.