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

Large content performance #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 14, 2013

  1. Unpickle context only from phased blocks

    Before this commit `utils.second_pass_render` tried to unpickle stashed
    context from all bits of content resulting from splitting of template by
    `PHASED_SECRET_DELIMITER`. Only odd bits are results of `phased` block
    rendering, so only those bits contain stashed context. Even bits can't
    contain stashed context and since they are results of first pass
    rendering they can be arbitrary long and even for content of sane length
    searching for regular expression match done in `unpickle_context` can
    take insanely long time.  
    
    Fixed by unpickling context only from odd bits.
    
    Fixes: codysoyland#9
    jkuczm committed Sep 14, 2013
    Configuration menu
    Copy the full SHA
    d4fb2bf View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2014

  1. Configuration menu
    Copy the full SHA
    af265c8 View commit details
    Browse the repository at this point in the history