Skip to content

Memoize date attribute of date-type archive pages#154

Merged
jekyllbot merged 1 commit intojekyll:masterfrom
ashmaroli:memoize-archive-date
Mar 18, 2020
Merged

Memoize date attribute of date-type archive pages#154
jekyllbot merged 1 commit intojekyll:masterfrom
ashmaroli:memoize-archive-date

Conversation

@ashmaroli
Copy link
Copy Markdown
Member

So that a new Date object is not created on every call

Copy link
Copy Markdown
Member

@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

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

Tests pass, looks like memoizing the date attribute is ok :)

@ashmaroli
Copy link
Copy Markdown
Member Author

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit 06fc093 into jekyll:master Mar 18, 2020
jekyllbot added a commit that referenced this pull request Mar 18, 2020
@ashmaroli ashmaroli deleted the memoize-archive-date branch March 18, 2020 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants