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 memory usage in item data processing #317

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

ludeknovy
Copy link
Owner

The commit replaces two 'const' declarations with 'let' in 'item-data-processing.ts' for rawData and rawDataArray. After these variables are used, they are set to null, freeing up memory space. The change is aimed at optimizing memory usage and improving performance.
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 52.95%. Comparing base (49f30e8) to head (0d06041).

Files Patch % Lines
...er/controllers/item/shared/item-data-processing.ts 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
- Coverage   53.01%   52.95%   -0.07%     
==========================================
  Files         101      101              
  Lines        1673     1675       +2     
  Branches      151      151              
==========================================
  Hits          887      887              
- Misses        767      769       +2     
  Partials       19       19              
Flag Coverage Δ
unittests 52.95% <0.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ludeknovy ludeknovy merged commit 83fd971 into master Apr 12, 2024
4 of 6 checks passed
@ludeknovy ludeknovy deleted the bugfix/raw-data-memory branch April 12, 2024 15:58
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.

1 participant