Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

IMPROVED the performance in drawing the background view of the panel.#11

Open
torinkwok wants to merge 1 commit intococoabits:masterfrom
torinkwok:master
Open

IMPROVED the performance in drawing the background view of the panel.#11
torinkwok wants to merge 1 commit intococoabits:masterfrom
torinkwok:master

Conversation

@torinkwok
Copy link

Just a little adjustment : )

@shpakovski
Copy link
Collaborator

Hey. Does it really matter if we still rebuild the UIBezierPath every time? I believe CPU is less important resource than memory retained by the ivar :) Anyway, how about optimizing the number of steps by remembering the content rect and arrow position or at least by removing all curve points after drawing?

@torinkwok
Copy link
Author

Okay, you are right! : P

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.

2 participants

Comments