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 Site#each_site_file #9187

Merged
merged 1 commit into from
Dec 18, 2022

Conversation

ashmaroli
Copy link
Member

  • This is a 🔨 code refactoring change.

Summary

Site#each_site_file reduced in performance in Jekyll v4.3.0 owing to additional checks to filter duplicate entries of static files from a collection.

This pull request optimizes the regression by avoiding duplicate entries of static files itself thereby removing the need for additional checks and filtering.

Notes

Consider backporting to the 4.3-stable branch.

@ashmaroli ashmaroli added fix refactor backport-candidate Consider for merge into an older stable branch labels Nov 18, 2022
@ashmaroli
Copy link
Member Author

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit b2891a4 into jekyll:master Dec 18, 2022
@jekyllbot jekyllbot added the bug label Dec 18, 2022
jekyllbot added a commit that referenced this pull request Dec 18, 2022
@ashmaroli ashmaroli deleted the optimize-site-each_site_file branch December 18, 2022 13:20
github-actions bot pushed a commit that referenced this pull request Dec 18, 2022
Ashwin Maroli: Optimize `Site#each_site_file` (#9187)

Merge pull request 9187
ashmaroli added a commit to ashmaroli/jekyll that referenced this pull request Jan 15, 2023
ashmaroli added a commit that referenced this pull request Jan 16, 2023
DavidS added a commit to DavidS/jekyll that referenced this pull request Apr 29, 2023
@jekyll jekyll locked and limited conversation to collaborators Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-candidate Consider for merge into an older stable branch bug fix frozen-due-to-age refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants