Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[iOS] Reduce casting and repeat math during BoxView drawing #9008

Merged
merged 2 commits into from Jan 3, 2020

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Dec 23, 2019

Description of Change

BoxRenderer's drawing method is constantly recomputing some multiples of pi and casting back and forth between float/nfloat unnecessarily. These changes eliminate some of the unnecessary effort.

Issues Resolved

None

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@samhouts samhouts added this to In Review in v4.5.0 Jan 1, 2020
Copy link
Contributor

@AndreiMisiukevich AndreiMisiukevich left a comment

Choose a reason for hiding this comment

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

Changes LGTM xD

@rmarinho rmarinho merged commit 3a36e06 into master Jan 3, 2020
v4.5.0 automation moved this from In Review to Done Jan 3, 2020
@samhouts samhouts moved this from Done to In Review in v4.5.0 Jan 3, 2020
@samhouts samhouts moved this from In Review to Done in v4.5.0 Jan 3, 2020
@samhouts samhouts added this to Done in v4.6.0 Jan 7, 2020
@samhouts samhouts added this to the 4.5.0 milestone Jan 8, 2020
@hartez hartez deleted the boxrenderer-cleanup branch January 29, 2020 22:59
@samhouts samhouts removed this from Done in v4.6.0 Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
v4.5.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants