Skip to content

Conversation

@TimothyMakkison
Copy link
Contributor

@TimothyMakkison TimothyMakkison commented Nov 14, 2023

Use Array.Empty over allocating an empty array where possible. Done for ______arguments and parameterTypes..

See #1598

Copy link
Member

@anaisbetts anaisbetts left a comment

Choose a reason for hiding this comment

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

This is great, thanks for the solid PR. @clairernovotny, can you think of anything this might break?

@TimothyMakkison TimothyMakkison force-pushed the improve_empty_array branch 5 times, most recently from f83b635 to 19870d6 Compare November 15, 2023 11:15
@clairernovotny
Copy link
Member

Can't think of any issues this would cause. Thanks!

@TimothyMakkison
Copy link
Contributor Author

Sorry about that, should be fixed now 🤞

Any chance you'd be open to running a formatter on this repository? A lot of lines appear to have random 4-8 sections of whitespace.

@codecov
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (af399f0) 85.45% compared to head (9f8883d) 85.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1599   +/-   ##
=======================================
  Coverage   85.45%   85.45%           
=======================================
  Files          33       33           
  Lines        1685     1685           
  Branches      295      295           
=======================================
  Hits         1440     1440           
  Misses        166      166           
  Partials       79       79           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

github-actions bot commented Dec 2, 2023

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2023
@TimothyMakkison TimothyMakkison deleted the improve_empty_array branch December 2, 2023 00:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants