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

Nhan/optimizations1 #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Nhan/optimizations1 #57

wants to merge 1 commit into from

Conversation

nhan
Copy link
Collaborator

@nhan nhan commented Sep 3, 2015

  • Only compute shapes if the picture (or current instruction / loop index) has changed
  • Only compute variables if the variables have changed

This feels noticeably less sluggish on my machine. For example compare to existing version by going to scatter picture and hold down arrow on instructions.

@tonysherbondy
Copy link
Owner

lgtm

- Only recompute shapes/rerender if picture changed
- Only recompute variables if they've changed
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