Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define Symbol(s::Symbol) = s for performance
Before, `Symbol(:symbol)` was calling the generic `Symbo(x...)` method which in turns calls `string(x...)`; this is too slow for just returning the argument. Ref #23381 (cherry picked from commit 3cfd75b)
- Loading branch information