You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/25 23:18:27 UTC

svn commit: r1581561 - /thrift/cms-site/trunk/lib/path.pm

Author: joes
Date: Tue Mar 25 22:18:27 2014
New Revision: 1581561

URL: http://svn.apache.org/r1581561
Log:
quick_deps

Modified:
    thrift/cms-site/trunk/lib/path.pm

Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1581561&r1=1581560&r2=1581561&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Tue Mar 25 22:18:27 2014
@@ -17,7 +17,7 @@ my %thrift_args = (
     repo          => 'thrift.git',          # set snippet default git repo
     template      => 'default.html',        # set common template argument (mainly for .md files)
     snippet_footer=> $thrift_snippet_footer,# append this string to each generated snipppet block
-    quick_deps    => 1,                     # short-circuit deps processing to simplest case
+    quick_deps    => 1,                     # short-circuit deps processing to simplest use case
 );
 
 my $thrift_page_footer = $thrift_snippet_footer;
@@ -53,7 +53,8 @@ our %dependencies; # for /sitemap.html a
                    # We could do slightly better if we weren't interested in the actual build-
                    # generated output of those dependent files, which we aren't, but coding that
                    # up as a special case of the standard sitemap view isn't worth the trouble.
-                   # Now watch me bother anyway just to see...
+                   # Now watch me bother anyway just to see... ok done with 'quick_deps' support.
+                   # Yay it's about a second faster on a full site build for thrift- go team!
 
 walk_content_tree {
     if (/\.md(?:text)?$/ or m!/index\.html$! or m!^/test/!) {