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

Memoize absolute_url and relative_url filters #7793

Merged
merged 1 commit into from Aug 22, 2019

Commits on Aug 20, 2019

  1. Memoize absolute_url and relative_url filters

    These two filters are quite slow, as Addressable::URI.parse is quite
    slow. Fortunately, they are pure functions and so can be easily
    memoized. This one change shaves 8s off the CockroachDB docs build
    (github.com/cockroachdb/docs).
    benesch committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    a4a6678 View commit details
    Browse the repository at this point in the history