Skip to content

Commit

Permalink
Remove outdated paragraph from deepcopy docstring (#35192)
Browse files Browse the repository at this point in the history
  • Loading branch information
cstjean authored Mar 22, 2020
1 parent 60f5267 commit 6baa701
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions base/deepcopy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ independent object. For example, deep-copying an array produces a new array whos
are deep copies of the original elements. Calling `deepcopy` on an object should generally
have the same effect as serializing and then deserializing it.
As a special case, functions can only be actually deep-copied if they are anonymous,
otherwise they are just copied. The difference is only relevant in the case of closures,
i.e. functions which may contain hidden internal references.
While it isn't normally necessary, user-defined types can override the default `deepcopy`
behavior by defining a specialized version of the function
`deepcopy_internal(x::T, dict::IdDict)` (which shouldn't otherwise be used),
Expand Down

2 comments on commit 6baa701

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.