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

improve performance #78

Open
ismailshak opened this issue May 9, 2024 · 0 comments
Open

improve performance #78

ismailshak opened this issue May 9, 2024 · 0 comments
Milestone

Comments

@ismailshak
Copy link
Owner

TUI improvements:

  • screen.go should be renamed to predictions.go
  • build input and write to stdout efficiently
  • when --watch, build the new screen before wiping the current stdout output

UX improvements:

  • if a single argument fuzzy matched multiple stops (up to a limit), it should print multiple stops
  • this should extend to N-args
  • figure out a good limit
    • could be configurable (e.g. if a pi-controlled screen wants to print many things)
    • this might involve figuring out best performance to UX ratio (i.e. print all at once after gathering vs print as you collect)
    • might involve loading spinners (can have progress context since i know what the count of stops were)
@ismailshak ismailshak added this to the v2 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant