Re: Erubis, does it really make a difference?

Jeremy Kemper
Mon, 10 Dec 2007 22:54:10 -0000

On 12/10/07, Josh Peek <joshpeek@gmail.com> wrote:
> Has anyone else done any benchmarks with Erubis? I''ve found it
doesn''t
> make a big difference even without ActionPack template compiling. And
> once its compiled to ruby code, it doesn''t even matter, the
results
> are identical.
>
> Can anyone else verify this?

Yes, when I last tried I had similar results.

Accumulating the result in an Array instead of a String behaves better
with Ruby GC, but that''s anecdotal (I didn''t measure it).

jeremy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---