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 #1

Open
deciduously opened this issue May 23, 2018 · 2 comments
Open

Optimize #1

deciduously opened this issue May 23, 2018 · 2 comments
Assignees

Comments

@deciduously
Copy link
Owner

There's a lot of slow crap going on here.

  • Multipliers should look up everything first, and then run the command
  • Don't load the item table again each Lookup command - just once on invoke
@deciduously deciduously self-assigned this May 23, 2018
@deciduously
Copy link
Owner Author

Some of those Strings can and should be Cow<'a, str> . Let's learn all about it

@deciduously
Copy link
Owner Author

Also, make more of an effort to generalize. Prefer &[T] over Vec, and generic args constrained to traits instead of concrete types.

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