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/!) {