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

Add support to TableData class #223

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

SergeyNefyodov
Copy link
Contributor

Summary of the Pull Request

What is this about:

Description:

I added support to TableData class. I tried to resolve IsValidZoomLevel method. It returns true on all the numbers ends on 0, from 10 to 400, others are False. I decided to remain only true values, otherwise it would be inconvinient for user. A loop with 511 iteration is surprisingly fast, maybe it can be OK. I remain 511 in case of 400 is not the greatest scale

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link

github-actions bot commented Apr 27, 2024

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]


var zoom = 0;
var emptyIterations = 0;
while (emptyIterations < 50)
Copy link
Collaborator

Choose a reason for hiding this comment

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

@SergeyNefyodov i've optimized a little bit. I guess while loop looks better for this case. But maybe, zoom list is constant, from 10 to 400 with step 10, but who knows

@Nice3point Nice3point merged commit 646808d into jeremytammik:dev Apr 27, 2024
3 checks passed
@SergeyNefyodov SergeyNefyodov deleted the dev-table-data-support branch April 28, 2024 12:39
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