Sinatra's use of the Tilt framework for template rendering adds support for template caching, for consistent template backtraces, and for new template engines.
In JRuby 1.6, we have eliminated the need for this data structure for generating backtraces, which means that many Ruby methods now have nearly zero artificial call overhead.