-
-
Notifications
You must be signed in to change notification settings - Fork 118
Engine: Optimize HTML-only templates #651
Copy link
Copy link
Open
Labels
engineHerb engine and Rails template compilationHerb engine and Rails template compilationoptimizationCompile-time and generated-output optimizationsCompile-time and generated-output optimizationsperformanceSpeed and memory usage improvementsSpeed and memory usage improvementsrubyRuby source for the gem and its librariesRuby source for the gem and its libraries
Milestone
Description
Metadata
Metadata
Assignees
Labels
engineHerb engine and Rails template compilationHerb engine and Rails template compilationoptimizationCompile-time and generated-output optimizationsCompile-time and generated-output optimizationsperformanceSpeed and memory usage improvementsSpeed and memory usage improvementsrubyRuby source for the gem and its librariesRuby source for the gem and its libraries
Given an HTML-only template, the
Herb::Enginecould optimize it to not use any Ruby, besides the Ruby String itself.A template like:
Gets compiled to this using
Herb::Enginetoday:This could get optimized to just be this: