Title Genshi optimization & XPath rewrite
Student Marcin Kurczych
Mentor Christopher Lenz
Abstract
Genshi is Python templating library used in web frameworks like TurboGears and Pylons. It has brilliant design (templating language inside of XML) and great capabilities. But it needs more speed.

My project will focus on the following optimization possibilities:
* Binding serializer (XML, XHTML, text) to template before rendering, so it can
  pre-render static parts of template
* Compiling templates into Python bytecode
* Pre-rendering parts which do not depend on variables or there are only few
  possibilities (like py:if)

The second thing is partial or full XPath rewrite (and also
optimization/compiling) - XPath implementation is now rather buggy and
rewriting it would probably need less time than debugging.