Skip to content

Conversation

sungam3r
Copy link
Member

@sungam3r sungam3r commented Jan 22, 2024

fixes #20

@sungam3r sungam3r added the performance Issue or pull request about performance problems label Jan 22, 2024
Arr = new[] { 1, 2, 3 },
S = "Some string",
D = new Dictionary<int, string> { { 1, "One" }, { 2, "Two" } },
E = (object?)null,

Check warning

Code scanning / CodeQL

Useless upcast

There is no need to upcast from [null](1) to [Object](2) - the conversion can be done implicitly.
@sungam3r sungam3r merged commit b3950ef into master Jan 22, 2024
@sungam3r sungam3r deleted the bench branch January 22, 2024 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issue or pull request about performance problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add benchmarks
1 participant