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 shell character drawing. #5

Open
3 tasks
Nufflee opened this issue Dec 30, 2019 · 0 comments
Open
3 tasks

Optimize shell character drawing. #5

Nufflee opened this issue Dec 30, 2019 · 0 comments

Comments

@Nufflee
Copy link
Owner

Nufflee commented Dec 30, 2019

First off, try to get rid of (old_)/line_buffer completely.

  • Do not memcpy the whole line_buffer every time a character is modified.
  • Do not diff the whole line_buffer every time a character is modified.
  • Use memcpy to shift line_buffer instead of the for loop.
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

No branches or pull requests

1 participant