Skip to content

Commit

Permalink
Reduce some allocations in NameResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 1, 2018
1 parent 6ca1079 commit 13aa9e9
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 78 deletions.
1 change: 1 addition & 0 deletions src/absil/illib.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ type LayeredMultiMap<'Key,'Value when 'Key : equality and 'Key : comparison>(con
x.MarkAsCollapsible()
member x.MarkAsCollapsible() = LayeredMultiMap(contents.MarkAsCollapsible())
member x.TryFind k = contents.TryFind k
member x.TryGetValue k = contents.TryGetValue k
member x.Values = contents.Values |> List.concat
static member Empty : LayeredMultiMap<'Key,'Value> = LayeredMultiMap LayeredMap.Empty

Expand Down
Loading

0 comments on commit 13aa9e9

Please sign in to comment.