Permalink
Browse files

add a note about template compilation to CHANGES

  • Loading branch information...
1 parent b72eb59 commit f5efc370c8450a8b1308a3a87f743fe8b25e5097 @rtomayko rtomayko committed Mar 7, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 CHANGES
View
@@ -9,6 +9,12 @@
template backtraces, and support for new template engines, like
mustache and liquid. (Ryan Tomayko)
+ * ERB, Erubis, and Haml templates are now compiled the first time
+ they're rendered instead of being string eval'd on each invocation.
+ Benchmarks show a 5x-10x improvement in render time. This also
+ reduces the number of objects created, decreasing pressure on Ruby's
+ GC. (Ryan Tomayko)
+
* New 'settings' method gives access to options in both class and request
scopes. This replaces the 'options' method. (Chris Wanstrath)

0 comments on commit f5efc37

Please sign in to comment.