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

Make faster #1

Merged
merged 2 commits into from
Mar 12, 2018
Merged

Make faster #1

merged 2 commits into from
Mar 12, 2018

Conversation

denisdefreyne
Copy link
Contributor

This PR changes Rules so that the preprocessor no longer stores Procs in attributes. With no changes, the site now compiles in ~20s (rather than > 200s).

I also updated the Gemfile, along with Gemfile.lock, so that a bundle install now installs all dependencies.


During the outdatedness checking, Nanoc checks whether any attributes have changed. Unfortunately, that’s not reliable for Procs, because they cannot be serialised (its source code isn’t enough, because it also captures variables).

It’s possible for Nanoc to emit a warning when assigning a Proc to an attribute. I’ve created an issue for that: nanoc/features/issues/38.

@singpolyma singpolyma merged commit 8c2c012 into singpolyma:master Mar 12, 2018
@denisdefreyne denisdefreyne deleted the denis-changes branch March 13, 2018 07:26
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