Skip to content

feat: improve performance in AirportSupplier by resolving the provide…#688

Merged
mivek merged 1 commit intomainfrom
feat/airportsupplier-optimization
Jun 12, 2025
Merged

feat: improve performance in AirportSupplier by resolving the provide…#688
mivek merged 1 commit intomainfrom
feat/airportsupplier-optimization

Conversation

@mivek
Copy link
Copy Markdown
Owner

@mivek mivek commented Jun 12, 2025

…r once in the constructor.

Copilot AI review requested due to automatic review settings June 12, 2025 18:59
@github-actions
Copy link
Copy Markdown

Please check on sonarcloud https://sonarcloud.io/project/pull_requests_list?id=io.github.mivek%3AmetarParser that the PR does not add any issue.

This comment was marked as outdated.

@mivek mivek force-pushed the feat/airportsupplier-optimization branch from 760964c to 76b3ae4 Compare June 12, 2025 20:47
@mivek mivek force-pushed the feat/airportsupplier-optimization branch from 76b3ae4 to 97374b4 Compare June 12, 2025 20:49
@mivek mivek requested a review from Copilot June 12, 2025 20:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves performance in the AirportSupplier class by resolving the airport provider once during construction instead of on every call.

  • Caches the airport provider in the constructor.
  • Removes repetitive ServiceLoader lookups in the get method.

@mivek mivek merged commit 312e4d0 into main Jun 12, 2025
11 checks passed
@mivek mivek deleted the feat/airportsupplier-optimization branch June 12, 2025 20:59
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mivek
Copy link
Copy Markdown
Owner Author

mivek commented Jun 13, 2025

This fixes #687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants