Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/perf: apply lint suggestions #235

Merged
merged 2 commits into from
Aug 31, 2023
Merged

refactor/perf: apply lint suggestions #235

merged 2 commits into from
Aug 31, 2023

Conversation

winstxnhdw
Copy link
Contributor

@winstxnhdw winstxnhdw commented Aug 31, 2023

  • Fixed a bug where a using directive was not appropriately guarded with a preprocessor
  • Small performance win by using Array.Empty to avoid zero-length array allocations

Copy link
Contributor

@marcin-krystianc marcin-krystianc left a comment

Choose a reason for hiding this comment

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

All the changes are ok, but I've an objection for adding a new workflow. We already have a job that checks the format and I am not really sure whether we should have a job that automatically updates the code.

Let's move the workflow addition to a new PR, so we can have longer discussion about it and keep the rest in this PR as it can be merged immediately.

@marcin-krystianc marcin-krystianc merged commit f6a8038 into G-Research:master Aug 31, 2023
293 checks passed
@winstxnhdw winstxnhdw deleted the fix-lints branch August 31, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants