Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Optimize the 'findCountryByIso2' Function and Overall Code Flow #25

Closed
3 tasks done
fabiodmota opened this issue Jul 11, 2023 · 0 comments · Fixed by #125
Closed
3 tasks done

Optimize the 'findCountryByIso2' Function and Overall Code Flow #25

fabiodmota opened this issue Jul 11, 2023 · 0 comments · Fixed by #125
Labels
CountryRisk-Backend Country Risk Backend Issues enhancement New feature or request

Comments

@fabiodmota
Copy link
Contributor

fabiodmota commented Jul 11, 2023

Description

The 'findCountryByIso2' function needs to be optimized for better performance. Additionally, the overall flow of the code from the first method call to the last should be optimized.

Product Name

vas-country-risk-backend

Reproduction Steps

  1. Run the 'findCountryByIso2' function.
  2. Observe the performance and efficiency of the function and the overall code flow.
  3. Validate all query calls and optimize if possible

Expected Behavior

The 'findCountryByIso2' function and the overall code flow should be optimized for better performance.

Actual Behavior

The 'findCountryByIso2' function and the overall code flow could benefit from optimization.

Environment

{Details about the environment where the issue occurs, such as the version of the product, operating system, etc.}

Tasks

  • Optimize the 'findCountryByIso2' function for better performance.
  • Optimize the overall flow of the code from the first method call to the last.
  • Test to ensure the optimizations improve performance without introducing new issues.

Hints

Remember to thoroughly test the code after optimization to ensure no new issues have been introduced.
Try to use cache manager for query calls if repeated with same parameters

@fabiodmota fabiodmota changed the title **Optimize the 'findCountryByIso2' Function and Overall Code Flow** Optimize the 'findCountryByIso2' Function and Overall Code Flow Jul 11, 2023
@fabiodmota fabiodmota added enhancement New feature or request CountryRisk-Backend Country Risk Backend Issues labels Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CountryRisk-Backend Country Risk Backend Issues enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant