Mercurial > hg > mercurial-talk
changeset 317:c6ee843b4a71
Move implementation slide up front
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Fri, 10 Jun 2011 10:02:42 +0200 |
parents | d03248ef91aa |
children | d4fb0c45e2be |
files | query-languages.tex |
diffstat | 1 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/query-languages.tex +++ b/query-languages.tex @@ -74,6 +74,23 @@ \end{itemize} \end{frame} +\begin{frame}[fragile]{Implementation} + When a revision set is evaluated it is: + \begin{description}[<+->] + \item[tokenized:] split input into operators, symbols, strings + \item[parsed:] build parse tree based on operator precedence + \item[optimized:] reorders parse tree to evaluate cheap parts first: +\begin{lstlisting} +contains("README") and 1.0::1.5 +\end{lstlisting} +starts with a manifest-based query --- reorder to: +\begin{lstlisting} +1.0::1.5 and contains("README") +\end{lstlisting} + \item[executed:] go through tree and evaluate predicates + \end{description} +\end{frame} + \begin{frame}[fragile]{Quoting} How to handle special characters: \begin{itemize}[<+->] @@ -428,23 +445,6 @@ \end{itemize} \end{frame} -\begin{frame}[fragile]{Implementation} - When a revision set is evaluated it is: - \begin{description}[<+->] - \item[tokenized:] split input into operators, symbols, strings - \item[parsed:] build parse tree based on operator precedence - \item[optimized:] reorders parse tree to evaluate cheap parts first: -\begin{lstlisting} -contains("README") and 1.0::1.5 -\end{lstlisting} -starts with a manifest-based query --- reorder to: -\begin{lstlisting} -1.0::1.5 and contains("README") -\end{lstlisting} - \item[executed:] go through tree and evaluate predicates - \end{description} -\end{frame} - \section{Conclusion} \begin{frame}{Conclusion}