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

Refactor file compiler services to use iterable #214

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Jun 2, 2024

The file compiler services have been refactored to use iterable instead of arrays. This includes the FaviconsCompiler, ManifestCompiler, and ServiceWorkerCompiler. Now, the getFiles() method of these services returns iterable, which improves the application's efficiency by avoiding the need to load all the data into memory at once.

Target branch: 1.2.x
Resolves issue #213

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

@Spomky Spomky added the bug Something isn't working label Jun 2, 2024
@Spomky Spomky added this to the 1.2.1 milestone Jun 2, 2024
@Spomky Spomky self-assigned this Jun 2, 2024
@Spomky Spomky linked an issue Jun 2, 2024 that may be closed by this pull request
The file compiler services have been refactored to use iterable instead of arrays. This includes the FaviconsCompiler, ManifestCompiler, and ServiceWorkerCompiler. Now, the getFiles() method of these services returns iterable<Data>, which improves the application's efficiency by avoiding the need to load all the data into memory at once.
@Spomky Spomky force-pushed the bugs/slow-assets-provider branch from 0dcfdf3 to 47d579b Compare June 2, 2024 09:34
@Spomky Spomky merged commit c1419d2 into 1.2.x Jun 2, 2024
10 checks passed
@Spomky Spomky deleted the bugs/slow-assets-provider branch June 2, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Significant initialization time
1 participant