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

Optimize data structure and code while keeping backward compatibility #56

Open
3 tasks
vinothpandian opened this issue Nov 21, 2021 · 0 comments
Open
3 tasks
Assignees
Projects

Comments

@vinothpandian
Copy link
Owner

vinothpandian commented Nov 21, 2021

The current implementation has to split eraser and pen strokes during render. This is reducing the performance (obviously) of the component.

  • Update CanvasPath to have both eraser and pen strokes separately (Reduce time complexity)
  • Update undo/redo to action based instead of replicating data (Reduce space complexity)
  • Keep backward compatibility by adding a split method in loadPaths
@vinothpandian vinothpandian created this issue from a note in v7.0.0 (In progress) Nov 21, 2021
@vinothpandian vinothpandian self-assigned this Nov 21, 2021
vinothpandian added a commit that referenced this issue Nov 21, 2021
* split components into multiple files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v7.0.0
In progress
Development

No branches or pull requests

1 participant