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

Add Maximum BE distributions to Vitamins page #186

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

Conversation

wormania
Copy link
Contributor

@wormania wormania commented Feb 2, 2024

Adds a table containing the vitamin usage for maximum BE to the vitamins page, with a region selector (defaults to Galar):
image

Also optimised the Vitamin calculation function from ~O(n³) to O(n), when running against every Pokémon/region combo this brings it down from ~1000ms to ~50ms. The page unfortunately still chugs a bit on loading because KO insists on creating ten thousand individual bindings

@github-actions github-actions bot added html Adding or editing html files script Adding or editing js files labels Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html Adding or editing html files script Adding or editing js files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant