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

Restrict IDs, optimize single-source req #522

Merged
merged 2 commits into from
Dec 15, 2022
Merged

Restrict IDs, optimize single-source req #522

merged 2 commits into from
Dec 15, 2022

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Dec 14, 2022

  • Ensure the source ID only contains ascii alphanumerics, dots, dashes, and underscores.
  • optimize the most common case of getting a single source
  • optimize the case of sources with no query parameters

@nyurik nyurik requested a review from stepankuzmin December 14, 2022 15:32
@nyurik nyurik force-pushed the perf branch 2 times, most recently from 4cd0ef5 to 5db819d Compare December 14, 2022 15:38
* Ensure the source ID only contains ascii alphanumerics, dots, dashes, and underscores.
* optimize the most common case of getting a single source
* optimize the case of sources with no query parameters
@nyurik nyurik enabled auto-merge (squash) December 15, 2022 13:45
@nyurik nyurik merged commit ab2a2f9 into maplibre:main Dec 15, 2022
@nyurik nyurik deleted the perf branch December 15, 2022 14:18
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

Successfully merging this pull request may close these issues.

2 participants