Skip to content

Conversation

@ashmaroli
Copy link
Member

Currently on master, File.extname(id) is called in 3 separate places, each returning the same value but different objects. This PR proposes a minor optimization by moving File.extname(id) into the initializer.

@ashmaroli ashmaroli merged commit 0d6289e into jekyll:master Oct 10, 2019
@ashmaroli ashmaroli deleted the data-file-extname branch October 10, 2019 09:23
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.

2 participants